From 24e94f47ae8d1efb2570ff170a5a08a9218c3108 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 2 Oct 2019 16:43:38 +0200 Subject: Add sxhkd configs --- .config/sxhkd/sxhkdrc | 37 +++++++++++++++++++++++++++++++++++++ .gitignore | 3 +++ 2 files changed, 40 insertions(+) create mode 100644 .config/sxhkd/sxhkdrc 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 -- cgit v1.1