diff --git a/desktop-environment/polybar/shades/modules.ini b/desktop-environment/polybar/shades/modules.ini index 9d103f1..87bfe9f 100644 --- a/desktop-environment/polybar/shades/modules.ini +++ b/desktop-environment/polybar/shades/modules.ini @@ -581,7 +581,9 @@ interval = 10.0 ;;date = %Y-%m-%d% ; Optional time format -time = " %a, %d %b %Y" +; Wrapped in a click action (%% escapes % for strftime): left click opens +; the Google Calendar PWA (or the site, if none is installed). +time = "%%{A1:~/.config/polybar/shades/scripts/calendar.sh &:} %a, %d %b %Y%%{A}" ; Available tags: ;