Jas-SinghFSU / HyprPanel

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

Battery module not displaying #266

Closed Cyliann closed 1 month ago

Cyliann commented 1 month 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 1 month ago

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

Cyliann commented 1 month ago

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