Make rofi menus case insensitive
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
4d3e042a16
commit
c2889d72f4
3 changed files with 4 additions and 3 deletions
|
@ -25,7 +25,7 @@ ACTIONS=(
|
|||
"6: Powersave Mode"
|
||||
)
|
||||
|
||||
SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -p "${PROMPT}" | cut -d ":" -f1)
|
||||
SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -i -p "${PROMPT}" | cut -d ":" -f1)
|
||||
case "${SELECTION}" in
|
||||
"1")
|
||||
systemctl reboot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue