Skip to content

Waybar time/date #1782

Closed Answered by kRHYME7
Rukius1 asked this question in Q&A
Discussion options

You must be logged in to vote

First duplicate this file
~/.config/waybar/modules/clock.jsonc and rename it to something ~/.config/waybar/modules/clock#myclock.jsonc ( I named mine clock#user.jsonc) note that you should use # then the suffix

cp ~/.config/waybar/modules/clock.jsonc ~/.config/waybar/modules/clock#user.jsonc

Now edit this duplicated module ( in your case you just want to swap the format and format-alt )

Now to make this layout take effect

edit your ~/.config/waybar/config.ctl then change the clock into clock#user then toggle your waybar layout using a keybind. It should change the time.

Note you can directly change the ~/.config/waybar/modules/clock.jsonc but if you want to fetch for updates in from repo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rukius1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants