Modify screenshot script
Clear clipboard before copy screenshot.
This commit is contained in:
parent
708d2b989c
commit
b8906b3adc
@ -19,4 +19,5 @@ maim $TYPE "$SCREEN_PATH" &&
|
|||||||
notify-send -u low -t 1400 -i "$SCREEN_PATH" "Screenshot created!"
|
notify-send -u low -t 1400 -i "$SCREEN_PATH" "Screenshot created!"
|
||||||
|
|
||||||
[ "$SAVE" = "Yes" ] &&
|
[ "$SAVE" = "Yes" ] &&
|
||||||
|
xclip -sel clip /dev/null; sleep 0.5
|
||||||
xclip -selection clipboard -t image/png "$SCREEN_PATH" || exit
|
xclip -selection clipboard -t image/png "$SCREEN_PATH" || exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user