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