Browse Source

Added scripts to logout, reboot and shutdown

Samuel W. Flint 8 years ago
parent
commit
c446205f54
3 changed files with 12 additions and 0 deletions
  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"