소스 검색

Update i3-quit

Samuel W. Flint 6 년 전
부모
커밋
a453f7924a
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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?' \