This little gui tool uses powerprofilectl
to set power profile for your computer.
Get power-profiles-daemon
package on your distro.
cargo b --release
You can add ppctl-gui
to your battery config in your waybar as on-click:
"battery": {
"on-click": "ppctl-gui",
...
}
and make sway open the app in the corner on floating
Example for 1080p display:
for_window [app_id="ppctl_gui"] {
floating enable;
move right 792; # (1920 - 330)/2 - 3
move down 500; # (1080 - 50)/2 - 15
}