From 325d8b4ef7a02459172d6b6a423e36d7b3cadb88 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 6 Jul 2021 19:02:25 +0100 Subject: (General)~loads of commits, getting ready to port dotfiles to another machine --- SXHkD/.config/sxhkd/sxhkdrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'SXHkD/.config/sxhkd') 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)"; -- cgit v1.2.3-13-gbd6f