diff options
| author | Anton Bobov <anton@bobov.name> | 2026-04-22 23:50:03 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2026-07-24 14:21:47 +0500 |
| commit | 320287ab1aabfdf047d092f604294b7c2240a82e (patch) | |
| tree | 71f49513b36e43393f64ca6930c58e91de72e47a | |
| parent | a2506ed51e7f8991672547893e771ee5c594e9ca (diff) | |
genmon-remind: correct icon path and prevent command failure
| -rwxr-xr-x | genmon-remind.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/genmon-remind.sh b/genmon-remind.sh index 19c4f4e..1961550 100755 --- a/genmon-remind.sh +++ b/genmon-remind.sh @@ -4,9 +4,10 @@ set -e TODAY_REMINDERS=$(rem -r -f -q | fgrep -x -v 'No reminders.' | grep -v '^>' | wc -l) CAL_IMG="/usr/share/icons/Adwaita/scalable/mimetypes/x-office-calendar-symbolic.svg" +CAL_IMG="/usr/share/icons/Adwaita/symbolic/mimetypes/x-office-calendar-symbolic.svg" -if [ -f "$CAL_IMG" ] ; then - echo "<img>$CAL_IMG</img>" +if [ -f "$CAL_IMG" ]; then + echo "<img>$CAL_IMG</img>" fi [ $TODAY_REMINDERS -gt 0 ] && echo "<txt> $TODAY_REMINDERS</txt>" echo "<click>tkremind -m -b1 </click>" @@ -14,6 +15,6 @@ echo "<tool>" echo "<span font_family='monospace' size='small'>" rem -r -f -q echo -task rc.color=off genmon +task rc.color=off genmon || true echo "</span>" echo "</tool>" |
