aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2022-04-26 18:18:12 +0100
committerdakkar <dakkar@thenautilus.net>2022-04-26 18:18:12 +0100
commit656fcba3a8f0aa2b324a76a956ea4c564767d937 (patch)
tree396eb58df1f48cf0cdf2189f8713023159ac7d47
parentMerge branch 'master' into laptop (diff)
parentfix delayed snapshot (diff)
downloadfvwm-crystal-656fcba3a8f0aa2b324a76a956ea4c564767d937.tar.gz
fvwm-crystal-656fcba3a8f0aa2b324a76a956ea4c564767d937.tar.bz2
fvwm-crystal-656fcba3a8f0aa2b324a76a956ea4c564767d937.zip
Merge branch 'master' into laptop
-rw-r--r--components/bindings/Extra-Keybindings3
-rw-r--r--components/functions/Gather4
-rw-r--r--recipes/Dakkar12
3 files changed, 13 insertions, 6 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'
diff --git a/components/functions/Gather b/components/functions/Gather
new file mode 100644
index 0000000..ed13afe
--- /dev/null
+++ b/components/functions/Gather
@@ -0,0 +1,4 @@
+DestroyFunc gather
+AddToFunc gather
++ I All (!PlacedByFvwm) MoveToScreen
+
diff --git a/recipes/Dakkar b/recipes/Dakkar
index 91b9348..8bb356a 100644
--- a/recipes/Dakkar
+++ b/recipes/Dakkar
@@ -29,15 +29,15 @@ Style * StickyIcon
Module FvwmAuto 300 -passid -menterleave \
- "Silent raise_pager" \
- "Silent lower_pager"
+ "Silent Raise_Pager" \
+ "Silent Lower_Pager"
-DestroyFunc lower_pager
-AddToFunc lower_pager
+DestroyFunc Lower_Pager
+AddToFunc Lower_Pager
+ I WindowId $0 (FvwmPager|mwatch) Layer 0 2
-DestroyFunc raise_pager
-AddToFunc raise_pager
+DestroyFunc Raise_Pager
+AddToFunc Raise_Pager
+ I WindowId $0 (FvwmPager|mwatch) Layer 0 7
DestroyFunc FvwmPagerWindow