diff options
Diffstat (limited to 'bin/scrotmenu.sh')
-rwxr-xr-x | bin/scrotmenu.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/scrotmenu.sh b/bin/scrotmenu.sh index a39ca0f..9d4624e 100755 --- a/bin/scrotmenu.sh +++ b/bin/scrotmenu.sh @@ -24,12 +24,13 @@ case ${cmd%% *} in fullscreen) scrot -d 1 '%Y-%m-%d-@%H-%M-%S-scrot.png' ;; fullscreen_delay) scrot -d 4 '%Y-%m-%d-@%H-%M-%S-scrot.png' ;; - fullscreen_upload) scrot -d 1 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && $(echo "Screenshot Uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) ;; - fullscreen_upload_delay) scrot -d 4 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && $(echo "Screenshot uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) ;; + fullscreen_upload) scrot -d 1 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && (xclip -o;echo) | xclip -selection clipboard ;; +#&& && $CLIP && $(echo "Screenshot Uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) ;; + fullscreen_upload_delay) scrot -d 4 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && $(echo "Screenshot uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) && (xclip -o;echo) | xclip -selection clipboard ;; fullscreen_edit) scrot -d 1 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$EDIT \$f" ;; fullscreen_edit_delay) scrot -d 4 '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$EDIT \$f" ;; section) scrot -s '%Y-%m-%d-@%H-%M-%S-scrot.png' ;; - section_and_upload) scrot -s '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && $(echo "Screenshot uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) ;; + section_and_upload) scrot -s '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$UL \$f" && $(echo "Screenshot uploaded" | dzen2 -fn 'Envy Code R-10:Normal' -y 1062 -p 4) && (xclip -o;echo) | xclip -selection clipboard ;; section_and_edit) scrot -s '%Y-%m-%d-@%H-%M-%S-scrot.png' -e "$EDIT \$f" ;; *) exec "'${cmd}'" ;; esac |