Make it single line instead of list.

This commit is contained in:
cronyakatsuki 2022-03-26 20:10:45 +01:00
parent 19ee4a7871
commit f997d756a8

View File

@ -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