Browse Source

Added scripts to hibernate, lock screen or suspend

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