2022-06-26 12:42:49 +00:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.i3status-rust = {
|
|
|
|
enable = true;
|
|
|
|
bars = {
|
|
|
|
default = {
|
|
|
|
theme = "solarized-dark";
|
2023-07-07 07:27:10 +00:00
|
|
|
icons = "awesome6";
|
2022-06-26 12:42:49 +00:00
|
|
|
|
|
|
|
blocks = [
|
2024-01-15 15:58:31 +00:00
|
|
|
{
|
|
|
|
block = "net";
|
|
|
|
format = " $icon { ($ssid) |}";
|
|
|
|
click = [{
|
|
|
|
button = "left";
|
2024-01-27 09:49:52 +00:00
|
|
|
cmd = "${pkgs.iwgtk}/bin/iwgtk";
|
2024-01-15 15:58:31 +00:00
|
|
|
}];
|
|
|
|
}
|
2022-06-26 12:42:49 +00:00
|
|
|
{
|
|
|
|
block = "battery";
|
2023-07-07 07:27:10 +00:00
|
|
|
missing_format = "";
|
2024-01-12 22:35:19 +00:00
|
|
|
format = " $icon {($time h) |}$percentage ";
|
2022-06-26 12:42:49 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
block = "time";
|
|
|
|
interval = 60;
|
2023-07-07 07:27:10 +00:00
|
|
|
format = " $icon $timestamp.datetime(f:'%a %d.%m %R') ";
|
2022-06-26 12:42:49 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|