wlclock(1)
π wlclock β bestie edition π
okay so this is the manual page for wlclock(1), version 1.0.1, and honestly? she's iconic. let's get into it π«Ά
β¨ NAME β¨
wlclock β a digital analog clock for Wayland. yes, it says "digital analog," we don't make the rules, we just vibe with them π
πΈ DESCRIPTION πΈ
so basically wlclock puts an analog clock on your Wayland desktop. that's the whole thing. that's her job. she's doing it beautifully. β¨
she's inspired by xclock(1), and the default config was literally hand-picked to mimic it β like, a loving tribute, no cap. BUT. and this is the important part bestie: unlike xclock, wlclock is not a regular window. she's a desktop-widget. main character energy, but she stays in her lane. π
heads up: your Wayland compositor must implement the Layer-Shell and XDG-Output for wlclock to work. no implementation, no clock. it's giving prerequisites, fr fr. π
π OPTIONS π
every single flag, present and accounted for. nothing skipped, we don't do that here. π
-h,--helpβ show the help message and dip out. β¨-V,--versionβ show the version and exit. she's telling you who she is.-v,--verboseβ crank up the logging verbosity. more words! more info! π¬--background-colour <colour>β the background colour of the clock. default is"#FFFFFF". π€--border-colour <colour>β the border colour of the clock. default is"#000000". π€--border-size <size>,--border-size <top> <right> <bottom> <left>β set the border size. you either give her one argument to set every border at once, or four arguments to do each side individually, like a lil custom fit. default border size is1. π--clock-colour <colour>β the colour of the clock elements. default is"#000000". β°--corner-radius <radius>,--corner-radius <top-left> <top-right> <bottom-right> <bottom-left>β the radius of the corners. expects either one argument to round all four corners equally, or four arguments for individual corner radii. if you go high enough with the values,wlclockbecomes completely round (circle clock era π). set it to0to turn corner roundness off entirely. default radius is0. π--exclusive-zone <option>β the exclusive zone of the surface. options are"true","false"or"stationary"."true"β the compositor is told it shouldn't obstructwlclock's surface with other surfaces."false"β the compositor is told it can place other surfaces over or underwlclock's surface."stationary"β the compositor is told thatwlclock's surface shouldn't be moved around to accommodate other layer shell surfaces, and that it can freely place other surfaces over or under her.- the default is
"stationary". - > real talk: the exact implementation is compositor dependant. a compositor may just straight up ignore the requested exclusive zone of surfaces. so... yeah. π
--hand-width <size>β the width of the clock hands. if you set it to0,wlclockdrawsxclock-like clock hands. default is0. π°οΈ--layer <layer>β the layer of the layer surface. can be"overlay","top","bottom"or"background". typically"bottom"and"background"end up underneath regular windows, while"top"and"overlay"end up above them β but the exact placement on the z axis depends on how the compositor implements it. default layer is"overlay". π--margin <size>,--margin <top> <right> <bottom> <left>β set the margin. either one argument for all margins, or four arguments for each one individually. default margin is0. π--marking-width <size>β the width of the markings on the clock face. default is1. π’--namespace <namespace>β the namespace of the layers surface. some compositors treat layer surfaces differently depending on their namespace, so this is your lil label. default is"wlclock". π·οΈ--no-inputβ with this flag,wlclockasks the compositor to not send her input events. result: mouse events pass straight throughwlclockto the windows beneath her. ghost clock behaviour π»--output <output name>β the name of the output wherewlclockshould show up. output names are compositor dependant. if you set it to"all"or"*",wlclockshows on all outputs β and that's the default behaviour. π₯οΈβ¨--position <position>β set the position of the clock. can be"center","top","right","bottom","left","top-right","top-left","bottom-right"and"bottom-left". defaults to"center". π--size <size>β the size of the clock, without borders. default size is165. π¦--snapβ with this flag, the hour hand instantly snaps to the next position once the new hour begins, instead of slowly creeping over the course of the hour. no more gradual drift, we go straight to the point π₯
π COLOURS π
wlclock can parse hex code colours and read RGB values directly. she's flexible like that. π
the supported formats are:
"#RRGGBB"and"#RRGGBBAA"β hex code colours"0xRRGGBB"and"0xRRGGBBAA"β hex code colours, the0xway"rgb(rrr,ggg,bbb)"and"rgba(rrr,ggg,bbb,aaa)"β RGB colours
π AUTHORS π
Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>
and that's the whole page, bestie!! π«Ά she's wlclock(1), she's Version 1.0.1, and this manual was dated 2025-10-20 β so if you're reading this way in the future, hi, hope the clock still slays. πβ¨ππ¦
π¦ where this page comes from
- ubuntu resolute: wlclock 1.0.1-1 Β· GPL-3.0-only
- ubuntu stonking: wlclock 1.0.1-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms