Waybar
Waybar copied to clipboard
Issue#1545
Hi @Alexays , there is a small improvement to have scrolling ability on calendar #1545
- For clock module added general event section "on-scroll"
- Added subsection: "calendar" which stores int value as an months count for scrolling.
It's implemented not as event on mouse button clicks but through scrolling event which it seems to me more logically. In case when users wants to have both : calendar scrolling and timezone scrolling it's quite simple to extend "on-scroll" block
My config looks like:
"clock": {
// "timezone": "America/New_York",
"format": " {:%b %d %Y (%R)}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
"today-format": "<span color='#ff6699'><b><u>{}</u></b></span>",
"calendar-weeks-pos": "right",
"format-calendar": "<span color='#ecc6d9'><b>{}</b></span>",
"format-calendar-weeks": "<span color='#99ffdd'><b>W{:%V}</b></span>",
"format-calendar-weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"interval": 10,
"on-scroll": {
"calendar": 1
}
}
Hi @Alexays , can you please give your opinion about the merge request ?
Hi @Alexays , it it possible to have feedback ? Looks like merge request is hanged.
Sorry for the delay, lgtm, thx :)