diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 22:01:51 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 22:01:51 -0400 |
| commit | 4814403bbf58794da3349f21e55746e50e68eab4 (patch) | |
| tree | 3bc52b7cd8eefc02d9d74e1442e7a979507b460d /.local/bin/statusbar/news | |
| parent | 3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac (diff) | |
| download | eibhear-4814403bbf58794da3349f21e55746e50e68eab4.tar.gz eibhear-4814403bbf58794da3349f21e55746e50e68eab4.tar.zst eibhear-4814403bbf58794da3349f21e55746e50e68eab4.zip | |
pgrep junk removed and minor script changes
Diffstat (limited to '.local/bin/statusbar/news')
| -rwxr-xr-x | .local/bin/statusbar/news | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/statusbar/news b/.local/bin/statusbar/news index 28b2940..455f64d 100755 --- a/.local/bin/statusbar/news +++ b/.local/bin/statusbar/news @@ -1,13 +1,12 @@ #!/bin/sh -# i3blocks newsboat module. # Displays number of unread news items and an loading icon if updating. # When clicked, brings up `newsboat`. case $BLOCK_BUTTON in 1) setsid "$TERMINAL" -e newsboat ;; 2) setsid newsup >/dev/null & exit ;; - 3) pgrep -x dunst >/dev/null && notify-send "📰 News module" "\- Shows unread news items + 3) notify-send "📰 News module" "\- Shows unread news items - Shows 🔃 if updating with \`newsup\` - Left click opens newsboat - Middle click syncs RSS feeds |
