dmenu-scripts/dmenu-ryzenctl
2024-02-07 22:08:52 +01:00

8 lines
254 B
Bash
Executable File

#!/bin/sh
. $HOME/.config/dmenu/config
profile=$(cat /tmp/ryzenadj-service.profile)
new=$(printf "normal\\nperformance\\nmax-performance" | dmenu -p "Currently $profile: ")
[ "$new" = "" ] && exit
ryzenctl $new && quick-notify "RyzenCTL" "$new started"