Kaynağa Gözat

Added scripts to hibernate, lock screen or suspend

Samuel W. Flint 8 yıl önce
ebeveyn
işleme
2d99938057
3 değiştirilmiş dosya ile 12 ekleme ve 0 silme
  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"