ソースを参照

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"