setting battery percentage does not work anymore on KDE Plasma 6.5.4
KDE Plasma got updated to version 6.5.4 and now the feature for enabling the battery percentage does not work anymore. Even when showing it manually it gets reset again after next boot.
I am enabling battery percentage via plasma-manager like so:
```nix
{ config
, ...
}: {
programs.plasma = {
# enable plasma-manager
enable = true;
# always override existing configs
overrideConfig = true;
# plasma configs should be immutable by default
immutableByDefault = true;
panels = [
# Windows-like panel at the bottom
{
location = "bottom";
floating = false;
height = 40;
widgets = [
{
systemTray.items = {
# We explicitly show bluetooth and battery
shown = [
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
"org.kde.plasma.battery"
"org.kde.plasma.bluetooth"
"org.kde.plasma.systemtray"
];
# And explicitly hide networkmanagement and volume
hidden = [
"org.kde.plasma.brightness"
];
configs.battery.showPercentage = true;
};
}
];
hiding = "normalpanel";
}
};
};
}
```
4 条评论