Bläddra i källkod

Update i3-quit

Samuel W. Flint 6 år sedan
förälder
incheckning
a453f7924a
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      i3-quit

+ 4 - 2
i3-quit

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