diff options
Diffstat (limited to 'share/cfg/waybar.nix')
| -rw-r--r-- | share/cfg/waybar.nix | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/share/cfg/waybar.nix b/share/cfg/waybar.nix index 892850a..bd6cc96 100644 --- a/share/cfg/waybar.nix +++ b/share/cfg/waybar.nix @@ -1,4 +1,5 @@ -{ lib, ... }: { +{ lib, ... }: +{ programs.waybar = { systemd = { enable = true; @@ -24,15 +25,34 @@ ]; # TODO: fix clock format - clock = { format = "{:%H:%M}"; }; + clock = { + format = "{:%H:%M}"; + }; "battery#capacity" = { - format = lib.concatStringsSep "\n" [ "{icon}" "{capacity}%" ]; - format-icons = [ "" "" "" "" "" "" "" "" "" "" ]; + format = lib.concatStringsSep "\n" [ + "{icon}" + "{capacity}%" + ]; + format-icons = [ + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + ]; }; "battery#power" = { - format = lib.concatStringsSep "\n" [ "" "{power:4.1f}W" ]; + format = lib.concatStringsSep "\n" [ + "" + "{power:4.1f}W" + ]; interval = 1; }; |
