aboutsummaryrefslogtreecommitdiff
path: root/.config/sxhkd
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2019-10-02 16:43:38 +0200
committerPatrick Spek <p.spek@tyil.nl>2019-10-02 16:43:38 +0200
commit24e94f47ae8d1efb2570ff170a5a08a9218c3108 (patch)
treef65c47e346435d54972de4f6310b27302fbbf489 /.config/sxhkd
parent035bb70ce47ce7e5a643b80e130985b6d711e99f (diff)
Add sxhkd configs
Diffstat (limited to '.config/sxhkd')
-rw-r--r--.config/sxhkd/sxhkdrc37
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
new file mode 100644
index 0000000..6af774f
--- /dev/null
+++ b/.config/sxhkd/sxhkdrc
@@ -0,0 +1,37 @@
+# spawn applications
+super + Return
+ termite
+
+super + e
+ dmenu_run
+
+super + u
+ perl6 -e "'$(dmenu -i < $HOME/.local/etc/uninames.txt)'.uniparse.print" | xdotool type --file -
+
+# multimedia keys
+XF86Audio{Play,Stop,Prev,Next}
+ mpc -q {toggle,stop,prev,next}
+
+XF86Audio{Raise,Lower}Volume
+ amixer set Master 5%{+,-}
+
+XF86AudioMute
+ amixer set Master toggle
+
+XF86MonBrightness{Up,Down}
+ xbacklight {+,-}5%
+
+# lock screen
+super + shift + s
+ physlock
+
+# printscreens
+Print
+ sscrot
+
+shift + Print
+ wscrot
+
+# reload sxhkd config
+super + shift + r
+ pkill -USR1 -x sxhkd