Преглед изворни кода

Added scripts to logout, reboot and shutdown

Samuel W. Flint пре 8 година
родитељ
комит
c446205f54
3 измењених фајлова са 12 додато и 0 уклоњено
  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"