Shutdown, reboot and NM restart for runit
And use $netrefresh for XF86WLAN
This commit is contained in:
parent
ed709d93d7
commit
b6aff99ade
1 changed files with 6 additions and 1 deletions
|
@ -53,6 +53,11 @@ exec --no-startup-id nm-applet
|
||||||
#set $reboot sudo openrc-shutdown -r
|
#set $reboot sudo openrc-shutdown -r
|
||||||
#set $netrefresh --no-startup-id sudo rc-service NetworkManager restart
|
#set $netrefresh --no-startup-id sudo rc-service NetworkManager restart
|
||||||
|
|
||||||
|
#RUNIT
|
||||||
|
#set $shutdown sudo shutdown -h now
|
||||||
|
#set $reboot sudo reboot
|
||||||
|
#set $netrefresh --no-startup-id sudo sv restart NetworkManager
|
||||||
|
|
||||||
#SYSTEMD
|
#SYSTEMD
|
||||||
set $shutdown sudo shutdown -h now
|
set $shutdown sudo shutdown -h now
|
||||||
set $reboot sudo reboot
|
set $reboot sudo reboot
|
||||||
|
@ -468,4 +473,4 @@ bindsym XF86KbdBrightnessUp exec --no-startup-id python3.6 ~/.i3/kb-lights.py +
|
||||||
bindsym XF86Documents exec $term -e ranger ~/Documents
|
bindsym XF86Documents exec $term -e ranger ~/Documents
|
||||||
##bindsym XF86Battery exec
|
##bindsym XF86Battery exec
|
||||||
##bindsym XF86Bluetooth exec
|
##bindsym XF86Bluetooth exec
|
||||||
bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager
|
bindsym XF86WLAN exec $netrefresh
|
||||||
|
|
Loading…
Reference in a new issue