diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-07 13:38:14 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-07 13:38:14 -0500 |
commit | 51f290a9c6c0d6cc1b834ee776074e6614151a8a (patch) | |
tree | 7990b738f056a3490c69eac4af28b7089acca0ac /i3status-rs/.local | |
parent | e842d34c9ae3a48a78bbcaa5b9fc58216e1d49a6 (diff) |
chore(i3status-rs): remove unused pkg
Diffstat (limited to 'i3status-rs/.local')
-rwxr-xr-x | i3status-rs/.local/lib/i3status-rust/i3status-miniflux | 9 | ||||
-rwxr-xr-x | i3status-rs/.local/lib/i3status-rust/i3status-notmuch | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/i3status-rs/.local/lib/i3status-rust/i3status-miniflux b/i3status-rs/.local/lib/i3status-rust/i3status-miniflux deleted file mode 100755 index c9412fb..0000000 --- a/i3status-rs/.local/lib/i3status-rust/i3status-miniflux +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -curl -s https://miniflux.tobyvin.dev/v1/feeds/counters \ - -H "X-Auth-Token: ${MINIFLUX_TOKEN:-$(pass miniflux.tobyvin.dev/i3status)}" | - jq -r '[.unreads[]] | add // 0 | { - icon: "rss", - state: (if . > 50 then "Critical" elif . > 0 then "Warning" else "Idle" end), - text: (. | tostring) - }' diff --git a/i3status-rs/.local/lib/i3status-rust/i3status-notmuch b/i3status-rs/.local/lib/i3status-rust/i3status-notmuch deleted file mode 100755 index 1c51be8..0000000 --- a/i3status-rs/.local/lib/i3status-rust/i3status-notmuch +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -notmuch search --format=json tag:unread | jq -c 'length | { - icon: "mail", - state: (if . == 0 then "Idle" elif . < 10 then "Warning" else "Critical" end), - text: (. | tostring) -}' |