Waybar/include
Félix Baylac Jacqué c38d05b04f Introduce power-profiles-daemon module
We introduce a module in charge to display and toggle on click the
power profiles via power-profiles-daemon.

https://gitlab.freedesktop.org/upower/power-profiles-daemon

This daemon is pretty widespread. It's the component used by Gnome and
KDE to manage the power profiles. The power management daemon is a
pretty important software component for laptops and other
battery-powered devices.

We're using the daemon DBus interface to:

- Fetch the available power profiles.
- Track the active power profile.
- Change the active power profile.

The original author recently gave up maintenance on the project. The
Upower group took over the maintenance burden… …and created a new
DBus name for the project. The old name is still advertised for now.
We use the old name for compatibility sake: most distributions did not
release 0.20, which introduces this new DBus name. We'll likely revisit
this in the future and point to the new bus name. See the inline
comment for more details.

Given how widespread this daemon is, I activated the module in the
default configuration.
2024-02-26 14:44:14 +01:00
..
modules Introduce power-profiles-daemon module 2024-02-26 14:44:14 +01:00
util fix(clock): remove literal operator with reserved name 2024-02-19 21:56:47 -08:00
AAppIconLabel.hpp Add removed secondary identifier 2023-07-10 23:48:18 +02:00
AIconLabel.hpp Happy clang 2023-03-02 16:57:32 +03:00
ALabel.hpp Happy clang 2023-03-02 16:57:32 +03:00
AModule.hpp feat: add `module` class to the root elements of the modules 2024-02-14 22:41:13 -08:00
ASlider.hpp feat: pulseaudio slider module 2023-10-15 17:52:12 -03:00
IModule.hpp ISSUE#1977. AModule implements module actions call 2023-02-28 15:32:28 +03:00
bar.hpp refactor: merge BarSurface into Bar 2024-02-19 03:00:38 -08:00
client.hpp feat!: drop RawSurfaceImpl with direct use of wlr-layer-shell 2024-02-17 11:23:17 -08:00
config.hpp Add support for reading the config path from env 2022-09-05 08:21:36 +02:00
factory.hpp refactor: move all module includes to factory.cpp 2024-02-19 15:11:08 -08:00
group.hpp refactor: move signal handler adding into separate method 2023-10-14 18:30:27 -03:00