diff options
| author | Blake Romero <blake@blkrom.com> | 2024-12-23 23:20:16 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-12-23 23:20:16 +0000 |
| commit | 0a498e953a65adab286ea877f58d61e73600f350 (patch) | |
| tree | 81574b5bb65f7042c870d58772ab1241aad221f7 /dot-config/yambar/scripts/newsboat | |
| parent | bc140a70f0b7976005fcef3430477310feacd438 (diff) | |
Fix yambar newsboat unread count & on-click action
Diffstat (limited to 'dot-config/yambar/scripts/newsboat')
| -rwxr-xr-x | dot-config/yambar/scripts/newsboat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dot-config/yambar/scripts/newsboat b/dot-config/yambar/scripts/newsboat index 3fb006c..614d10c 100755 --- a/dot-config/yambar/scripts/newsboat +++ b/dot-config/yambar/scripts/newsboat @@ -1,6 +1,7 @@ #!/bin/sh # Get unread count +pgrep -x newsboat || newsboat -x print-unread >~/.cache/unread unread=$(cut -f1 -d' ' ~/.cache/unread) # Display unread count |
