Skip to content

Commit

Permalink
fix battery indicator issue on laptop (#58)
Browse files Browse the repository at this point in the history
- Fix an issue that the indicator show 0% battery
- Add upower package as nwg-panel uses it for devices with 2+ batteries

Signed-off-by: Anh Huy Bui <[email protected]>
  • Loading branch information
buianhhuy96 authored Sep 18, 2024
1 parent d2543ec commit fdf6866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/desktop/graphics/sway/nwg-panel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
in {

config = lib.mkIf cfg.enable {
services.upower.enable = true;
environment.etc."xdg/nwg-panel/config" = {
text = panelConfig;
# The UNIX file mode bits
Expand Down

0 comments on commit fdf6866

Please sign in to comment.