(General)~loads of commits, getting ready to port dotfiles to another machine

This commit is contained in:
2021-07-06 19:02:25 +01:00
parent 9fa164dc11
commit 325d8b4ef7
10 changed files with 168 additions and 25 deletions

View File

@@ -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)";