Make it single line instead of list.
This commit is contained in:
parent
19ee4a7871
commit
f997d756a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user