Jas-SinghFSU / HyprPanel

A Bar/Panel for Hyprland with extensive customizability.
MIT License
985 stars 69 forks source link

Battery module not displaying #266

Closed Cyliann closed 2 months ago

Cyliann commented 2 months ago

Describe the bug Battery module doesn't display for me at all, no mattery it's position in the bar. May be related to https://github.com/Aylur/ags/issues/252

Screenshots image

Desktop (please complete the following information):

Additional context My hyprpanel/options.json:

{
  "theme.font.size": "1rem",
  "theme.font.weight": 500,
  "theme.osd.enable": true,
  "theme.osd.location": "left",
  "theme.osd.active_monitor": true,
  "theme.bar.floating": false,
  "bar.launcher.icon": "",
  "bar.workspaces.show_icons": true,
  "bar.workspaces.show_numbered": false,
  "bar.workspaces.numbered_active_indicator": "underline",
  "theme.bar.menus.monochrome": false,
  "wallpaper.image": "",
  "theme.matugen": true,
  "theme.bar.transparent": true,
  "menus.clock.weather.unit": "metric",
  "menus.clock.weather.location": "",
  "menus.clock.time.military": true,
  "bar.clock.format": "  %H:%M",
  "menus.dashboard.powermenu.logout": "hyprlock",
  "bar.layouts": {
    "0": {
      "left": [
        "workspaces",
        "media"
      ],
      "middle": [
        "clock",
      ],
      "right": [
        "volume",
        "network",
        "bluetooth",
        "battery",
        "notifications"
      ]
    },
    "1": {
      "left": [
        "dashboard",
        "workspaces",
        "media"
      ],
      "middle": [
        "clock",
      ],
      "right": [
        "volume",
        "network",
        "bluetooth",
        "battery",
        "systray",
        "notifications"
      ]
    },
    "2": {
      "left": [
        "dashboard",
        "workspaces",
        "media"
      ],
      "middle": [
        "clock",
      ],
      "right": [
        "volume",
        "network",
        "bluetooth",
        "battery",
        "systray",
        "notifications"
      ]
    }
  },
  "menus.clock.weather.key": "",
  "theme.bar.menus.menu.media.card.color": "#2b3230",
  "bar.customModules.updates.pollingInterval": 1440000
}
Jas-SinghFSU commented 2 months ago

Could you add this and see if it works: https://github.com/Jas-SinghFSU/HyprPanel/issues/207#issuecomment-2351762595

Cyliann commented 2 months ago

Yes, it works. Thanks for the fast reply and sorry for duplicate.