From f997d756a8d6e371041f6e13d6b903e21bb4baf3 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Sat, 26 Mar 2022 20:10:45 +0100 Subject: [PATCH] Make it single line instead of list. --- dmenupowermenu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenupowermenu b/dmenupowermenu index 9e553d9..555151a 100755 --- a/dmenupowermenu +++ b/dmenupowermenu @@ -1,6 +1,6 @@ #!/bin/sh -case "$(printf "shutdown\\nreboot" | dmenu -l 2 -p "Choose your poison")" in +case "$(printf "shutdown\\nreboot" | dmenu -p "Choose your poison")" in "shutdown") systemctl poweroff ;; "reboot") systemctl reboot ;; esac