Make it single line instead of list.
This commit is contained in:
parent
19ee4a7871
commit
f997d756a8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue