2022-04-02 08:14:30 +01:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
|
|
|
|
programs.i3status-rust = {
|
|
|
|
enable = true;
|
|
|
|
bars = {
|
|
|
|
top = {
|
|
|
|
icons = "awesome5";
|
|
|
|
theme = "solarized-dark";
|
2022-04-02 11:20:05 +01:00
|
|
|
blocks = [
|
2022-04-07 21:33:09 +01:00
|
|
|
{
|
|
|
|
block = "custom";
|
|
|
|
command = ../i3/openweathermap-fullfeatured.sh;
|
2022-04-07 21:44:20 +01:00
|
|
|
interval = 600;
|
2022-04-07 21:33:09 +01:00
|
|
|
}
|
2022-04-02 11:20:05 +01:00
|
|
|
{
|
|
|
|
block = "load";
|
|
|
|
format = "{1m} {5m} {15m}";
|
|
|
|
}
|
2022-04-02 11:37:34 +01:00
|
|
|
{
|
|
|
|
block = "disk_space";
|
|
|
|
format = "{icon} {available}";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
block = "memory";
|
|
|
|
interval = 60;
|
|
|
|
format_mem = "{mem_avail}";
|
|
|
|
icons = false;
|
|
|
|
}
|
2022-04-02 11:20:05 +01:00
|
|
|
{
|
|
|
|
block = "time";
|
|
|
|
format = "%a %d/%m %R";
|
|
|
|
interval = 59;
|
|
|
|
}
|
2022-04-02 11:48:50 +01:00
|
|
|
{
|
|
|
|
block = "battery";
|
|
|
|
device = "BAT0";
|
|
|
|
allow_missing = true;
|
|
|
|
hide_missing = true;
|
2022-04-02 11:57:45 +01:00
|
|
|
format = "{time}";
|
2022-04-02 15:59:27 +01:00
|
|
|
good = 101;
|
2022-04-02 11:48:50 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
block = "battery";
|
|
|
|
device = "BAT1";
|
|
|
|
allow_missing = true;
|
|
|
|
hide_missing = true;
|
2022-04-02 11:57:45 +01:00
|
|
|
format = "{time}";
|
2022-04-02 15:59:27 +01:00
|
|
|
good = 101;
|
2022-04-02 11:48:50 +01:00
|
|
|
}
|
2022-04-02 11:20:05 +01:00
|
|
|
];
|
2022-04-02 08:14:30 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|