Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Issue#1545

Open LukashonakV opened this issue 1 year ago • 0 comments

Hi @Alexays , there is a small improvement to have scrolling ability on calendar #1545

  1. For clock module added general event section "on-scroll"
  2. 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
                     }
        }

LukashonakV avatar Aug 06 '22 10:08 LukashonakV

Hi @Alexays , can you please give your opinion about the merge request ?

LukashonakV avatar Aug 30 '22 08:08 LukashonakV

Hi @Alexays , it it possible to have feedback ? Looks like merge request is hanged.

LukashonakV avatar Sep 06 '22 20:09 LukashonakV

Sorry for the delay, lgtm, thx :)

Alexays avatar Sep 07 '22 07:09 Alexays