1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(i3status-rust): remove weechat status as it always needs ssh to be unlocked

This commit is contained in:
2024-03-28 06:43:40 +01:00
parent 45e9c2674e
commit 0b0a5c3c62

View File

@@ -41,19 +41,6 @@
format = "{$icon $combo $play |}";
separator = " ";
}
{
block = "custom";
interval = 60;
command = pkgs.writers.writeDash "weechat" ''
ssh -o ConnectTimeout=1 makanek cat /var/lib/weechat/hotlist.txt | sed 's/,/\n/g' | wc -l | jq '{
text: (if . > 0 then . | tostring else "" end),
state: (if . > 0 then "Info" else "Idle" end),
icon: "bell"
}'
'';
json = true;
hide_when_empty = true;
}
{
block = "net";
format = " $icon HU";