aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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