Cleanup sxhkdrc

This commit is contained in:
2025-07-10 00:13:14 +01:00
parent 8fb1ff1944
commit a2b4c43b93
2 changed files with 11 additions and 19 deletions

View File

@@ -1,12 +1,4 @@
# Launchers
super + Escape
notify-send -u low "Reloading xprofile"; \
sh .xprofile;
super + shift + Escape
notify-send -u low "Reloaded sxhkd"; \
killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
super + Return
notify-send -u low "Launching terminal"; \
$TERMINAL
@@ -46,6 +38,8 @@ super + z
notify-send -u low "Launching zathura"; \
zathura
# lock and power
super + alt + l
$HOME/.local/scripts/lock;
@@ -67,8 +61,14 @@ super + F11
super + F12
systemctl suspend
super + Home
onboard
# Profiles
super + Escape
notify-send -u low "Reloading xprofile"; \
sh .xprofile;
super + shift + Escape
notify-send -u low "Reloaded sxhkd"; \
killall sxhkd; sxhkd -r "$XDG_CACHE_HOME/sxhkd_out"
# Media
super + F{6,7,8}
@@ -110,14 +110,6 @@ super + ctrl + D
notify-send -u low "Changing background"; \
$HOME/.local/scripts/black-bg;
# Connections
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;
# Brightness
XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 5; \