This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/private/sway/i3status-rust.nix

35 lines
719 B
Nix

{ pkgs, ... }:
{
programs.i3status-rust = {
enable = true;
bars = {
default = {
theme = "solarized-dark";
icons = "awesome6";
blocks = [
{
block = "net";
format = " $icon { ($ssid) |}";
click = [{
button = "left";
cmd = "${pkgs.iwgtk}/bin/iwgtk";
}];
}
{
block = "battery";
missing_format = "";
format = " $icon {($time h) |}$percentage ";
}
{
block = "time";
interval = 60;
format = " $icon $timestamp.datetime(f:'%a %d.%m %R') ";
}
];
};
};
};
}