summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-23 14:24:37 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-23 14:24:37 +0100
commit2ffa1dcf5360dacab57964cef4acb2abeb696ea9 (patch)
tree87f3a2677068f2010222f6beb62a40edcfc9203c
parentfb5a6e5c88e33bcc03e712f1acdfcd8550eaaa18 (diff)
use doas for dmpower
-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"