Use ryzenset new get functions to get currrent used profile.
This commit is contained in:
parent
5c738fdc77
commit
ad858aa740
1 changed files with 1 additions and 7 deletions
|
@ -12,13 +12,7 @@ get_category () {
|
|||
}
|
||||
|
||||
get_current_profile () {
|
||||
current_temp=$(sudo get-tctl-limit)
|
||||
|
||||
[ "$current_temp" = "60" ] && current_mode="normal mode"
|
||||
[ "$current_temp" = "65" ] && current_mode="light gaming"
|
||||
[ "$current_temp" = "70" ] && current_mode="heavy gaming"
|
||||
[ "$current_temp" = "75" ] && current_mode="heavy programs"
|
||||
[ "$current_temp" = "85" ] && current_mode="heavy gaming pro"
|
||||
current_mode=$(sudo ryzenset get)
|
||||
}
|
||||
|
||||
menu () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue