Explorar o código

Added scripts to logout, reboot and shutdown

Samuel W. Flint %!s(int64=8) %!d(string=hai) anos
pai
achega
c446205f54
Modificáronse 3 ficheiros con 12 adicións e 0 borrados
  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"