nixos-config/home-manager/sway/i3status-rust.nix

27 lines
526 B
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
programs.i3status-rust = {
enable = true;
bars = {
default = {
theme = "solarized-dark";
icons = "awesome6";
blocks = [
{
block = "battery";
missing_format = "";
2024-01-12 22:35:19 +00:00
format = " $icon {($time h) |}$percentage ";
}
{
block = "time";
interval = 60;
format = " $icon $timestamp.datetime(f:'%a %d.%m %R') ";
}
];
};
};
};
}