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

35 lines
738 B
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
programs.i3status-rust = {
enable = true;
bars = {
default = {
theme = "solarized-dark";
icons = "awesome6";
blocks = [
2024-01-15 15:58:31 +00:00
{
block = "net";
format = " $icon { ($ssid) |}";
click = [{
button = "left";
cmd = "${pkgs.iwgtk}/bin/iwgtk";
2024-01-15 15:58:31 +00:00
}];
}
{
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') ";
}
];
};
};
};
}