aboutsummaryrefslogtreecommitdiff
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
parent035bb70ce47ce7e5a643b80e130985b6d711e99f (diff)
Add sxhkd configs
-rw-r--r--.config/sxhkd/sxhkdrc37
-rw-r--r--.gitignore3
2 files changed, 40 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
diff --git a/.gitignore b/.gitignore
index 25d8824..f1c032a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -61,6 +61,9 @@
!/.ssh/known_hosts
!/.ssh/authorized_keys
+# x11-misc/sxhkd
+!/.config/sxhkd
+
# x11-terms/termite https://anongit.gentoo.org/git/user/eroen.git
!/.config/termite