modules/power_profiles_daemon: add custom format from config

We move to a single icon label format to save space on the bar. We
still display the profile name and the driver in the tooltip.
This commit is contained in:
Félix Baylac Jacqué
2024-03-01 11:13:57 +01:00
parent 162b41c4d0
commit 61fed6a214
3 changed files with 30 additions and 2 deletions

View File

@ -148,6 +148,17 @@
"battery#bat2": {
"bat": "BAT2"
},
"power_profiles_daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",