summaryrefslogtreecommitdiffstats
path: root/bin/scrotmenu.sh
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2012-08-14 16:39:49 +0200
committerRasmus Steinke <rasi@xssn.at>2012-08-14 16:39:49 +0200
commit12650d0424141da59eb655ecbe459967f229638c (patch)
tree66a73916fc3c90afa716c10bfefa0706b1f41293 /bin/scrotmenu.sh
parentf140a1642ebfde198946ad6760c1003c1cb9a8c3 (diff)
downloaddotfiles-12650d0424141da59eb655ecbe459967f229638c.tar.gz
dotfiles-12650d0424141da59eb655ecbe459967f229638c.tar.xz
removed jdownloader
Diffstat (limited to 'bin/scrotmenu.sh')
-rwxr-xr-xbin/scrotmenu.sh7
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