Explorar o código

Added scripts to hibernate, lock screen or suspend

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