Browse Source

Update i3-quit

Samuel W. Flint 6 years ago
parent
commit
a453f7924a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      i3-quit

+ 4 - 2
i3-quit

@@ -9,10 +9,12 @@ case ${1} in
         i3-msg exit
         ;;
     shutdown)
-        kdesu -c "systemctl poweroff"
+        # kdesu -c "systemctl poweroff"
+	systemctl poweroff
         ;;
     reboot)
-        kdesu -c "systemctl restart"
+        # kdesu -c "systemctl restart"
+	systemctl reboot
         ;;
     show)
         i3-nagbar -t warning -m 'How would you like to leave?' \