Trouble displaying battery icon in the taskbar #428
-
Hey again, i tried to enable the display of the battery percentage with: programs.plasma {
widgets = {
battery = {
showPercentage = true;
};
};
} But apparently i'm doing something wrong: |
Beta Was this translation helpful? Give feedback.
Answered by
HeitorAugustoLN
Nov 30, 2024
Replies: 1 comment 7 replies
-
Every widget has their respective configuration contained into where they are defined. programa.plasma = {
enable = true;
panels = [
{
# Your other panel configurations
widgets = [
{
systemTray = {
items.configs = {
battery.showPercentage = true; # This is an high-level widget module, it basically sets what's below:
"org.kde.plasma.battery".General.showPercentage = true;
};
};
}
];
}
];
}; Edit: Just read the title |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
SpidFightFR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every widget has their respective configuration contained into where they are defined.
I would assume that you'd want enable in the systemtray. So here it goes:
Edit: Just read the title