Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module clock: Unknown module: clock #977

Closed
kwsp opened this issue Jan 13, 2021 · 4 comments
Closed

module clock: Unknown module: clock #977

kwsp opened this issue Jan 13, 2021 · 4 comments

Comments

@kwsp
Copy link

kwsp commented Jan 13, 2021

I'm running Debian Testing, installed Waybar from the official repo and running the default config.

Relevant config:

{
    "modules-right": ["clock"],
    "clock": {
        // "timezone": "America/New_York",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
        "format-alt": "{:%Y-%m-%d}"
    },
}

log:

[warning] module clock: Unknown module: clock
~ waybar -v
Waybar v0.9.5

Clock module does not render in the bar. Any idea whats wrong?

@ihabunek
Copy link

Check out #668

@kwsp
Copy link
Author

kwsp commented Jan 14, 2021

Thanks for the link! I don't think having an extra dependency is a good reason to not compile a status bar without clock support, but what do I know.

This custom snippet works for me (for those who come later):

    "custom/clock": {
        "exec": "date +'%H:%M %S'",
        "interval": 1
    },

@kwsp kwsp closed this as completed Jan 14, 2021
@kevr
Copy link

kevr commented Aug 28, 2021

How exactly do you style the custom/clock module? Thanks for the snippet! Having trouble figuring out what its CSS ID would be.

@serxoz
Copy link

serxoz commented Aug 30, 2021

@kevr take a look here: https://github.com/Alexays/Waybar/wiki/Module:-Custom#style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants