fixed i3status-rust bar

This commit is contained in:
Ingolf Wagner 2023-06-29 11:13:24 +02:00
parent e005ec1785
commit dca146d6d0
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -48,25 +48,45 @@ in
}
{
block = "memory";
display_type = "memory";
format_mem = "{mem_used_percents}";
format_swap = "{swap_used_percents}";
format = "$icon $mem_used_percents ";
}
{
block = "load";
interval = 1;
format = "{1m}";
format = "$icon $1m";
}
{ block = "net"; }
{ block = "sound"; }
{ block = "uptime"; }
{
block = "battery";
interval = 10;
format = "{percentage} {time}";
format = "$icon $percentage $time";
}
{
block = "taskwarrior";
interval = 60;
format = " $icon $count.eng(w:1) tasks ";
format_singular = " $icon 1 task ";
format_everything_done = "";
warning_threshold = 10;
critical_threshold = 20;
filters = [
{
name = "active";
filter = "+PENDING and ( +ACTIVE or +DUETODAY or +TODAY or +OVERDUE )";
}
];
}
{ block = "uptime"; }
{
block = "time";
interval = 60;
format = "%Y-%m-%d %R";
format = " $icon $timestamp.datetime(f:'%Y-%m-%d %R', l:de_DE) ";
}
{
block = "tea_timer";
format = " $icon {$minutes:$seconds |}";
done_cmd = "${pkgs.noti}/bin/noti 'Timer Finished'";
}
];
};