diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-27 21:59:58 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-27 21:59:58 +0300 |
commit | 7b0efb8f2f5b34f116c6bee9c762b8f3ce0543c8 (patch) | |
tree | aa836c23a86c52611abdc50def49ef05ce32ed76 /.config | |
parent | d4eeeb75d02871b2f53dee91dc4432e64bdcb75f (diff) | |
download | dotfiles-7b0efb8f2f5b34f116c6bee9c762b8f3ce0543c8.tar.gz |
feat(dwm): use simple X hotkey daemon
Diffstat (limited to '.config')
-rw-r--r-- | .config/sxhkd/sxhkdrc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc new file mode 100644 index 0000000..fcc2158 --- /dev/null +++ b/.config/sxhkd/sxhkdrc @@ -0,0 +1,30 @@ +XF86AudioMute + pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+2 dwmblocks + +XF86AudioRaiseVolume + pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+2 dwmblocks + +XF86AudioLowerVolume + pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+2 dwmblocks + +XF86AudioPlay + playerctl --player=spotify play-pause + +XF86AudioPrev + playerctl --player=spotify previous && sleep 0.1 && pkill -RTMIN+1 dwmblocks + +XF86AudioNext + playerctl --player=spotify next && sleep 0.1 && pkill -RTMIN+1 dwmblocks + +XF86MonBrightnessUp + xbacklight -inc 10 && pkill -RTMIN+3 dwmblocks + +XF86MonBrightnessDown + xbacklight -dec 10 && pkill -RTMIN+3 dwmblocks + +shift + Print + screenshot.sh + +Print + screenshot.sh -window root + |