Browse Source

Added scripts to logout, reboot and shutdown

Samuel W. Flint 8 năm trước cách đây
mục cha
commit
c446205f54
3 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 4 0
      i3-logout
  2. 4 0
      i3-reboot
  3. 4 0
      i3-shutdown

+ 4 - 0
i3-logout

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+save-emacs-files-and-quit
+i3-msg exit

+ 4 - 0
i3-reboot

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+save-emacs-files-and-quit
+kdesu -c "systemctl reboot"

+ 4 - 0
i3-shutdown

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+save-emacs-files-and-quit
+kdesu -c "systemctl poweroff"