Use insensitive case.
This commit is contained in:
parent
32f64924d6
commit
15ecb794d7
@ -6,7 +6,7 @@ load_config () {
|
||||
}
|
||||
|
||||
get_category () {
|
||||
category=$( sudo ryzenset list | $DMENU -p "Choose profile category:")
|
||||
category=$( sudo ryzenset list | $DMENU -i -p "Choose profile category:")
|
||||
|
||||
[ -z "$category" ] && exit 0
|
||||
}
|
||||
@ -18,7 +18,7 @@ get_current_profile () {
|
||||
menu () {
|
||||
while [ -z "$profile" ]
|
||||
do
|
||||
profile=$(sudo ryzenset list $category | $DMENU -p "Current: $current_mode:")
|
||||
profile=$(sudo ryzenset list $category | $DMENU -i -p "Current: $current_mode:")
|
||||
|
||||
[ -z "$profile" ] && get_category
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user