aboutsummaryrefslogtreecommitdiff
path: root/components/bindings/Extra-Keybindings
diff options
context:
space:
mode:
Diffstat (limited to 'components/bindings/Extra-Keybindings')
-rw-r--r--components/bindings/Extra-Keybindings3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/bindings/Extra-Keybindings b/components/bindings/Extra-Keybindings
index 79d946e..32eb03f 100644
--- a/components/bindings/Extra-Keybindings
+++ b/components/bindings/Extra-Keybindings
@@ -33,3 +33,6 @@ Key E A $[Mod1]2 -
Key Print A $[Mod] -
# use maim instead
Key S A $[Mod1]S Exec maim -s | xclip -sel clip -t image/png
+# delayed snapshot; we need that `nohup` otherwise urxvt/bash will
+# take xclip down when they exit
+Key S A $[Mod1]SC Exec urxvt -geometry 20x1-0-0 +sb -b 0 -w 0 -title 'maim+xclip' -bl -e /bin/bash -c 'maim -d 5 -s | nohup xclip -sel clip -t image/png > /dev/null'