aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2022-04-26 15:26:50 +0100
committerGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2022-04-26 15:26:50 +0100
commite36221e6f977bcb370a4c869557df17e974a2332 (patch)
tree79f694f754e963da7bb0b4fc46d2ee1d51e1aeb9
parentadd `gather` function (diff)
downloadfvwm-crystal-e36221e6f977bcb370a4c869557df17e974a2332.tar.gz
fvwm-crystal-e36221e6f977bcb370a4c869557df17e974a2332.tar.bz2
fvwm-crystal-e36221e6f977bcb370a4c869557df17e974a2332.zip
fix delayed snapshot
-rw-r--r--components/bindings/Extra-Keybindings4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/bindings/Extra-Keybindings b/components/bindings/Extra-Keybindings
index 8520b22..631ae29 100644
--- a/components/bindings/Extra-Keybindings
+++ b/components/bindings/Extra-Keybindings
@@ -30,4 +30,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
-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 | 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'