Browse Source

Added the full-quit script

Samuel W. Flint 8 years ago
parent
commit
6e884384e8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      i3-full-quit

+ 6 - 0
i3-full-quit

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+i3-nagbar -t warning -m 'How would you like to leave?' \
+          -b 'Exit i3' 'i3-msg exit' \
+          -b 'Shutdown' 'su -c "systemctl poweroff"' \
+          -b 'Restart' 'su -c "systemctl restart"'