aboutsummaryrefslogtreecommitdiff
path: root/components/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'components/bindings')
-rw-r--r--components/bindings/Extra-Keybindings12
-rw-r--r--components/bindings/Multimedia_Keys2
2 files changed, 14 insertions, 0 deletions
diff --git a/components/bindings/Extra-Keybindings b/components/bindings/Extra-Keybindings
index 9c339d4..32eb03f 100644
--- a/components/bindings/Extra-Keybindings
+++ b/components/bindings/Extra-Keybindings
@@ -24,3 +24,15 @@ Key Pause A $[Mod1]S Exec xscreensaver-command -lock && sudo pm-suspend
Key F7 A $[Mod1] Exec xbacklight -dec 10
Key F8 A $[Mod1] Exec xbacklight -inc 10
+
+# remove Expose
+Key E A $[Mod1] -
+Key E A $[Mod1]2 -
+
+# kill crystal's screenshot
+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/bindings/Multimedia_Keys b/components/bindings/Multimedia_Keys
index 4fa6151..deaf0ab 100644
--- a/components/bindings/Multimedia_Keys
+++ b/components/bindings/Multimedia_Keys
@@ -1,10 +1,12 @@
Key XF86AudioRaiseVolume A $[Mod0] Change-Volume-Up
Key XF86AudioLowerVolume A $[Mod0] Change-Volume-Down
Key XF86AudioMute A $[Mod0] Mixer-Volume-Toggle
+Key XF86AudioMute A $[Mod0]S Mixer-Input-Toggle
Key XF86AudioRaiseVolume A $[Mod1] Change-Volume-Up
Key XF86AudioLowerVolume A $[Mod1] Change-Volume-Down
Key XF86AudioMute A $[Mod1] Mixer-Volume-Toggle
+Key XF86AudioMute A $[Mod1]S Mixer-Input-Toggle
Key XF86Eject A $[Mod0] Mixer-Show
Key F9 A $[Mod1] Mixer-Show