浏览代码

Added the full-quit script

Samuel W. Flint 8 年之前
父节点
当前提交
6e884384e8
共有 1 个文件被更改,包括 6 次插入0 次删除
  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"'