Skip to content

Date formatting within the Clock Calendar format #5241

Description

@WinnerWind

Is your feature request related to a problem?
I cannot remember the number associated with each month (January=1, February=2...) and it would be nice if, with my calendar, I could also see the associated month number.

Right now, my config for clock::calendar::format is:

 format : {
       "months":     "<span color='#ffead3'><b>{}</b></span>",
        days :        <span color='#ecc6d9'><b>{}</b></span> ,
        weeks :       <span color='#99ffdd'><b>W{}</b></span> ,
        weekdays :    <span color='#ffcc66'><b>{}</b></span> ,
        today :       <span color='#ff6699'><b><u>{}</u></b></span>
}

(Quotes may be missing due to formatting)

Describe the solution you'd like
Instead of {} in the clock::calendar::format dictionary, it could be modified to use {:%M (%m)} within the configuration

Describe alternatives you've considered
Other waybar plugins, but none of them had the stability requirements I wanted

Additional context
Clock.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions