Cleanup sxhkdrc
This commit is contained in:
@@ -3,5 +3,5 @@
|
|||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||||
"vim-tmux-navigator": { "branch": "master", "commit": "97e58f2b3b4f8fd30ce149302f10202f363cc361" }
|
"vim-tmux-navigator": { "branch": "master", "commit": "412c474e97468e7934b9c217064025ea7a69e05e" }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,4 @@
|
|||||||
# Launchers
|
# 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
|
super + Return
|
||||||
notify-send -u low "Launching terminal"; \
|
notify-send -u low "Launching terminal"; \
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
@@ -46,6 +38,8 @@ super + z
|
|||||||
notify-send -u low "Launching zathura"; \
|
notify-send -u low "Launching zathura"; \
|
||||||
zathura
|
zathura
|
||||||
|
|
||||||
|
# lock and power
|
||||||
|
|
||||||
super + alt + l
|
super + alt + l
|
||||||
$HOME/.local/scripts/lock;
|
$HOME/.local/scripts/lock;
|
||||||
|
|
||||||
@@ -67,8 +61,14 @@ super + F11
|
|||||||
super + F12
|
super + F12
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
|
|
||||||
super + Home
|
# Profiles
|
||||||
onboard
|
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
|
# Media
|
||||||
super + F{6,7,8}
|
super + F{6,7,8}
|
||||||
@@ -110,14 +110,6 @@ super + ctrl + D
|
|||||||
notify-send -u low "Changing background"; \
|
notify-send -u low "Changing background"; \
|
||||||
$HOME/.local/scripts/black-bg;
|
$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
|
# Brightness
|
||||||
XF86MonBrightness{Down,Up}
|
XF86MonBrightness{Down,Up}
|
||||||
xbacklight -{dec,inc} 5; \
|
xbacklight -{dec,inc} 5; \
|
||||||
|
|||||||
Reference in New Issue
Block a user