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

@@ -3,5 +3,5 @@
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"vim-tmux-navigator": { "branch": "master", "commit": "97e58f2b3b4f8fd30ce149302f10202f363cc361" }
"vim-tmux-navigator": { "branch": "master", "commit": "412c474e97468e7934b9c217064025ea7a69e05e" }
}

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; \