summaryrefslogtreecommitdiff
path: root/bin/dmscripts/dmpower
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dmscripts/dmpower')
-rwxr-xr-xbin/dmscripts/dmpower3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/dmscripts/dmpower b/bin/dmscripts/dmpower
new file mode 100755
index 0000000..bd847d6
--- /dev/null
+++ b/bin/dmscripts/dmpower
@@ -0,0 +1,3 @@
+#!/bin/sh
+choice="$(echo -e "poweroff\nreboot\nhibernate" | dmenu -l 1 -g 3)"
+test -z "$choice" || systemctl "$choice"