summaryrefslogtreecommitdiff
path: root/bin/guiscripts/dmpower
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-17 16:28:44 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-17 16:28:44 +0200
commit9fb919bb1ff1b38ece25973662aa595bec3b7328 (patch)
treec91238593e11189606c08d520e46d31ed1b6cd55 /bin/guiscripts/dmpower
parenta1f61ef7764a543a894bf58b0db14f677323fcbe (diff)
renamed dm scripts to m scripts
Diffstat (limited to 'bin/guiscripts/dmpower')
-rwxr-xr-xbin/guiscripts/dmpower13
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/guiscripts/dmpower b/bin/guiscripts/dmpower
deleted file mode 100755
index f03fd8e..0000000
--- a/bin/guiscripts/dmpower
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-if [ "$MENUCMD" = "tofi" ]
-then
- menucmd="tofi --width 10% --height 10% --padding-left 2%"
-elif [ "$MENUCMD" = "dmenu" ]
-then
- menucmd="dmenu -g 2 -l 1"
-else
- menucmd="fzf"
-fi
-
-choice="$(echo "poweroff\nreboot\nhibernate" | $menucmd)"
-test -z "$choice" || doas "$choice"