From cb2aa2a9ab0bff2c4c17323f592aae9964f62495 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 1 Jun 2024 16:23:25 +0100 Subject: Fixed issue with the date 1 actually being 01 and not being coloured, so stripped leading zero --- .config/yambar/scripts/calendar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/yambar') 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)/$(date +%d)<\/b><\/span>/")" --hint=string:x-canonical-private-synchronous:calendar + notify-send -i "calendar" " 📅 Calendar" "$(cal | sed "s/\<$(date +%-d)\>/$(date +%-d)<\/b><\/span>/")" --hint=string:x-canonical-private-synchronous:calendar } function EditCalendar() { -- cgit v1.2.3