diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-06-01 16:23:25 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-06-01 16:23:25 +0100 |
commit | cb2aa2a9ab0bff2c4c17323f592aae9964f62495 (patch) | |
tree | 5d37a6d817e5097135fea452c250a159974e5196 /.config/yambar/scripts/calendar.sh | |
parent | 0b5e253dd795c1f56a09775b7c1dfd90972405d3 (diff) |
Fixed issue with the date 1 actually being 01 and not being coloured, so stripped leading zero
Diffstat (limited to '.config/yambar/scripts/calendar.sh')
-rwxr-xr-x | .config/yambar/scripts/calendar.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/yambar/scripts/calendar.sh b/.config/yambar/scripts/calendar.sh index d3e9196..98f94c0 100755 --- a/.config/yambar/scripts/calendar.sh +++ b/.config/yambar/scripts/calendar.sh @@ -3,7 +3,7 @@ # Calendar script function ShowCalendar() { - notify-send -i "calendar" " 📅 Calendar" "$(cal | sed "s/$(date +%d)/<span color='#fabd2f'><b>$(date +%d)<\/b><\/span>/")" --hint=string:x-canonical-private-synchronous:calendar + notify-send -i "calendar" " 📅 Calendar" "$(cal | sed "s/\<$(date +%-d)\>/<span color='#fabd2f'><b>$(date +%-d)<\/b><\/span>/")" --hint=string:x-canonical-private-synchronous:calendar } function EditCalendar() { |