As contributed here:
I just added a simple rofi menu to set profiles for power-profiles-daemon from keybinding and from blocks panel also indicates current used profile:

You can take the needed configs from github:
~/.config/i3/config
~/.config/rofi/power-profiles.rasi
https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/rofi/power-profiles.rasi
~/.config/i3/scripts/power-profiles
https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/scripts/power-profiles
~/.config/i3/scripts/ppd-status
https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/scripts/ppd-status
~/.config/i3/i3blocks.conf
9 Likes
User14
2
Thanks! Really neat to see it now implemented. Hope everyone using i3wm on a laptop or otherwise will benefit.
I do use it on Desktop and I love it… simple and decent.
angel
4
Thanks!
Perhaps it will be good to mention that it uses power-profiles-daemon in i3blocks.conf file, so people can install it, in case its missing.