diff --git a/home/desktop-river/waybar.nix b/home/desktop-river/waybar.nix index 317cfeb..6774bff 100644 --- a/home/desktop-river/waybar.nix +++ b/home/desktop-river/waybar.nix @@ -9,71 +9,69 @@ modules-left = [ "river/tags" ]; modules-center = [ "river/window" ]; modules-right = [ "tray" "pulseaudio" "battery" "network" "clock" ]; - modules = { - clock.format = ''{: %m/%d |  %H:%M}''; - network = { - format-icons = [ - '''' - '''' - '''' - ]; - format = "({ifname})"; - format-wifi = "{icon} {signalStrength}"; - format-disconnected = ''''; - format-ethernet = ""; - }; - battery = { - states = { - good = 95; - warning = 50; - critical = 20; - }; - format-icons = { - discharging = [ - '''' - '''' - '''' - '''' - '''' - '''' - '''' - '''' - '''' - ]; #  - charging = [ - '''' - '''' - '''' - '''' - '''' - '''' - ]; #  - }; - format = " {capacity}"; - format-full = ""; - format-good-charging = ""; - format-plugged = ""; - format-charging = "{icon} {capacity}"; - format-discharging = "{icon} {capacity} ({time})"; - interval = 5; - }; - pulseaudio = { - states = { - high = 101; - very_high = 111; - }; - format-icons = [ - '''' - ''奔'' - '''' - ]; - format = "{icon} {volume}"; - format-bluetooth = "{icon} {volume}"; - format-muted = "ﱝ"; - }; - - tray.icon-size = 14; + clock.format = ''{: %m/%d |  %H:%M}''; + network = { + format-icons = [ + '''' + '''' + '''' + ]; + format = "({ifname})"; + format-wifi = "{icon} {signalStrength}"; + format-disconnected = ''''; + format-ethernet = ""; }; + battery = { + states = { + good = 95; + warning = 50; + critical = 20; + }; + format-icons = { + discharging = [ + '''' + '''' + '''' + '''' + '''' + '''' + '''' + '''' + '''' + ]; #  + charging = [ + '''' + '''' + '''' + '''' + '''' + '''' + ]; #  + }; + format = " {capacity}"; + format-full = ""; + format-good-charging = ""; + format-plugged = ""; + format-charging = "{icon} {capacity}"; + format-discharging = "{icon} {capacity} ({time})"; + interval = 5; + }; + pulseaudio = { + states = { + high = 101; + very_high = 111; + }; + format-icons = [ + '''' + ''奔'' + '''' + ]; + format = "{icon} {volume}"; + format-bluetooth = "{icon} {volume}"; + format-muted = "ﱝ"; + }; + + tray.icon-size = 14; }]; style = '' * {