diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/dunst/dunstrc | 4 | ||||
-rwxr-xr-x | .config/sxiv/exec/key-handler | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index e581916..3ac60ec 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -144,12 +144,12 @@ # Otherwise the '#' and following would be interpreted as a comment. background = "#333333" foreground = "#dcdcdc" - timeout = 0 + timeout = 10 [urgency_normal] background = "#333333" foreground = "#fcfcfc" - timeout = 0 + timeout = 10 [urgency_critical] background = "#a25136" diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 592f365..30b05a8 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -18,8 +18,8 @@ case "$1" in notify-send "uploading $(basename $2) to /tmp/ failed" else name=$(echo "http://shmibbles.me/tmp/$(basename $2)" | sed 's/ /%20/g') - echo "$name" | xclip -i -selection clipboard - echo "$name" | xclip -i -selection primary + echo "$name" | tr -d '\n' | xclip -i -selection clipboard + echo "$name" | tr -d '\n' | xclip -i -selection primary notify-send "uploaded $(basename $2) to /tmp/" fi ;; @@ -29,8 +29,8 @@ case "$1" in notify-send "uploading $(basename $2) to /img/ failed" else name=$(echo "http://shmibbles.me/img/$(basename $2)" | sed 's/ /%20/g') - echo "$name" | xclip -i -selection clipboard - echo "$name" | xclip -i -selection primary + echo "$name" | tr -d '\n' | xclip -i -selection clipboard + echo "$name" | tr -d '\n' | xclip -i -selection primary notify-send "uploaded $(basename $2) to /img/" fi ;; |