summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-01-30 15:03:04 -0700
committerGitHub <noreply@github.com>2018-01-30 15:03:04 -0700
commitbdb3100f237f1b68b8d1345884882aca59275e42 (patch)
treec9fb8add66ad13b78cb7be4d2a7f0ebbd0042b2f
parented709d93d7352ba957a5a1fb389aa53bdcd16f32 (diff)
parentb6aff99ade9a2d873405d64b76925fd22b24a580 (diff)
downloadeibhear-bdb3100f237f1b68b8d1345884882aca59275e42.tar.gz
eibhear-bdb3100f237f1b68b8d1345884882aca59275e42.tar.zst
eibhear-bdb3100f237f1b68b8d1345884882aca59275e42.zip
Merge pull request #20 from Enderjukebox/patch-1
Shutdown, reboot and NM restart for runit
-rw-r--r--.config/i3/config7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index d6fec2d..d723776 100644
--- 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