浏览代码

Added scripts to hibernate, lock screen or suspend

Samuel W. Flint 8 年之前
父节点
当前提交
2d99938057
共有 3 个文件被更改,包括 12 次插入0 次删除
  1. 4 0
      i3-hibernate
  2. 4 0
      i3-lock-screen
  3. 4 0
      i3-suspend

+ 4 - 0
i3-hibernate

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

+ 4 - 0
i3-lock-screen

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+save-emacs-files
+xscreensaver-command --lock

+ 4 - 0
i3-suspend

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