#!/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"