diff --git a/dmenu-ryzenadj b/dmenu-ryzenadj index 8477056..636ab55 100755 --- a/dmenu-ryzenadj +++ b/dmenu-ryzenadj @@ -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 () {