diff options
Diffstat (limited to 'SXHkD')
-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)"; |