diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-06 19:02:25 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-06 19:02:25 +0100 |
commit | 325d8b4ef7a02459172d6b6a423e36d7b3cadb88 (patch) | |
tree | 8543383279142b59510e3f0e5a7920cb58bbb2bf /SXHkD/.config | |
parent | 9fa164dc1148c3bab801d636f24873efe673fc3a (diff) | |
download | dotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.tar.gz dotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.tar.bz2 dotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.zip |
(General)~loads of commits, getting ready to port dotfiles to another machine
Diffstat (limited to 'SXHkD/.config')
-rw-r--r-- | SXHkD/.config/sxhkd/sxhkdrc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index f5cc4f2..c8fe121 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -19,6 +19,9 @@ super + a dmenu_run super + e + $HOME/.local/scripts/emacs_curl; + +super + E $HOME/.emacs_anywhere/bin/run super + s @@ -68,6 +71,23 @@ XF86AudioMute kill -43 $(pidof dwmblocks); \ pactl set-sink-mute 41 toggle; +Pause + playerctl --player=spotify play-pause + +Print + conn=$(nmcli | grep "connected to" | sed 's/.*connected to //g' | head -1); \ + nmcli c down "$conn"; \ + notify-send -u low "Turning off wifi"; \ + nmcli c up "$conn"; \ + notify-send -u low "Reset " $conn; + +Scroll_Lock + conn=$(nmcli | grep "connected to" | sed 's/.*connected to //g' | head -1); \ + nmcli c down "$conn"; \ + notify-send -u low "Turning off wifi"; \ + nmcli c up "$conn"; \ + notify-send -u low "Reset " $conn; + XF86MonBrightness{Down,Up} light -{U,A} 15; \ notify-send -u low "Brightness: $(light)"; |