Explorar el Código

Update i3-quit

Samuel W. Flint hace 6 años
padre
commit
a453f7924a
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  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?' \