Skip to content

Trouble displaying battery icon in the taskbar #428

Closed Answered by HeitorAugustoLN
SpidFightFR asked this question in Q&A
Discussion options

You must be logged in to vote

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:

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

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@SpidFightFR
Comment options

@HeitorAugustoLN
Comment options

@SpidFightFR
Comment options

@HeitorAugustoLN
Comment options

@SpidFightFR
Comment options

Answer selected by SpidFightFR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants