fix(flameshot): Putting image to clipboard is not consistent
I assume the issue is caused by Flameshot using KDE's library to put the screenshot to clipboard. REF: https://github.com/flameshot-org/flameshot/issues/2848#issuecomment-1368644640
This commit is contained in:
parent
e929ef27be
commit
f38d3ede24
1 changed files with 10 additions and 1 deletions
|
@ -114,8 +114,17 @@ $spaceMod = SUPER SHIFT # Super + Shift = MOD key(s) that control/modify the Wo
|
|||
bind = $mainMod, T, exec, kitty
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, B, exec, $BROWSER
|
||||
# >> In case flameshot stop working again
|
||||
#bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = , Print, exec, env XDG_CURRENT_DESKTOP="sway" flameshot gui
|
||||
# <<
|
||||
# >> Commented because flameshot clipboard support for wayland is buggy, probably because they use KDE's clipboard library
|
||||
# I'll be feeding flameshot's raw output to wl-copy for now
|
||||
#bind = , Print, exec, env XDG_CURRENT_DESKTOP="sway" flameshot gui
|
||||
# <<
|
||||
# >> zi-copy is a custom private script
|
||||
# It basically prompt me if I want to upload the result to S3 (using s3cmd) before copying to clipboard or not
|
||||
bind = , Print, exec, env XDG_CURRENT_DESKTOP="sway" flameshot gui --raw | $(zi-copy || wl-copy)
|
||||
# <<
|
||||
bind = $mainMod, Space, exec, exec `tofi-run` 2>/dev/null
|
||||
bind = $metaMod, Q, exit,
|
||||
bind = $metaMod, F, togglefloating,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue