diff options
Diffstat (limited to 'modules/home/i3wm/nord-blue')
| -rw-r--r-- | modules/home/i3wm/nord-blue/i3-status.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/home/i3wm/nord-blue/i3-status.nix b/modules/home/i3wm/nord-blue/i3-status.nix new file mode 100644 index 0000000..2f3053e --- /dev/null +++ b/modules/home/i3wm/nord-blue/i3-status.nix @@ -0,0 +1,32 @@ +{ pkgs, config, lib, vars, ... }: + +{ + programs.i3-status = { + enable = true; + + general = { + colors = true; + color_good = vars.colors.text; + color_bad = vars.colors.foreground; + interval = 1; + }; + + modules = { + # Battery status + "battery 0" = { + enable = true; + position = 4; + settings = { + format = "BAT: %status %percentage; + format_down = "No battery"; + status_chr = "CHR"; + status_bat = ""; + status_unk = "?"; + status_full = "FULL"; + path = "/sys/class/power_supply/BAT1/uevent"; + low_threshold = 10; + }; + }; + }; + }; +}
\ No newline at end of file |
