diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/wayland/modules/sway/i3status.nix | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/home/wayland/modules/sway/i3status.nix b/home/wayland/modules/sway/i3status.nix index 57b62a4..12c277b 100644 --- a/home/wayland/modules/sway/i3status.nix +++ b/home/wayland/modules/sway/i3status.nix @@ -7,29 +7,56 @@ output_format = "i3bar"; separator = ""; interval = 5; - colors = false; }; modules = { "tztime local" = { - position = 30; + position = 50; settings.format = " %a,%e %b %H:%M"; }; + + "battery all" = { + position = 40; + settings = { + status_chr = ""; + status_bat = ""; + status_unk = ""; + status_full = ""; + last_full_capacity = true; + low_threshold = 20; + threshold_type = "percentage"; + format_percentage = "%.00f%s"; + path = "/sys/class/power_supply/BAT%d/uevent"; + format_down = ""; + format = "%status %percentage %remaining %consumption"; + }; + }; + "volume master" = { - position = 20; + position = 30; settings = { format = " %volume"; format_muted = " %volume"; }; }; + "memory" = { - position = 10; + position = 20; settings.format = " %available"; }; + "disk /" = { - position = 00; + position = 10; settings.format = " %avail"; }; + + "wireless _first_" = { + position = 00; + settings = { + format_up = " %quality"; + format_down = ""; + }; + }; }; }; } |