commit bdb3100f237f1b68b8d1345884882aca59275e42
parent ed709d93d7352ba957a5a1fb389aa53bdcd16f32
Author: Luke Smith <luke@lukesmith.xyz>
Date: Tue, 30 Jan 2018 15:03:04 -0700
Merge pull request #20 from Enderjukebox/patch-1
Shutdown, reboot and NM restart for runit
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -53,6 +53,11 @@ exec --no-startup-id nm-applet
#set $reboot sudo openrc-shutdown -r
#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
set $shutdown sudo shutdown -h now
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 XF86Battery exec
##bindsym XF86Bluetooth exec
-bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager
+bindsym XF86WLAN exec $netrefresh