OCLOCK(1)
๐ OCLOCK(1) โ the round X clock, bestie edition
okay so picture this: it's oclock, from the General Commands Manual (X Version 11 girlie), and it's literally the cutest little analog clock on your X display. this page is gonna walk you through every single flag so you can customize it to perfection ๐
โจ NAME โจ
oclock โ round X clock ๐
๐ซถ SYNOPSIS ๐ซถ
oclock [-option ... ]
๐ธ DESCRIPTION ๐ธ
Oclock simply displays the current time on an analog display. that's it, that's the whole vibe. iconic behavior, no notes โจ
๐ OPTIONS ๐
-fg colorโ pick a different color for both hands and the jewel of the clock. two-for-one slay ๐-bg colorโ pick a different color for the background.-jewel colorโ pick a different color just for the jewel on the clock. the main character sparkle ๐-minute colorโ pick a different color for the minute hand of the clock.-hour colorโ pick a different color for the hour hand of the clock.-backing { WhenMapped Always NotUseful }โ selects an appropriate level of backing store. the three options are literallyWhenMapped,Always, andNotUseful๐ฆ-geometry geometryโ define the initial window geometry; seeX(7).-display displayโ specify the display to use; seeX(7).-bd colorโ pick a different color for the window border.-bw widthโ pick a different width for the window border. ngl, since the Clock widget changes its border around quite a bit, this is most usefully set to zero. fr fr, zero is the move ๐-shapeโ causes the clock to use the Shape extension to create an oval window. this is the default unless theshapeWindowresource is set to false. oval clock = aesthetic ๐-noshapeโ causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock.-transparentโ causes the clock to consist only of the jewel, the hands, and the border. ghost clock energy ๐โจ-helpโ prints a usage message and exits.-versionโ prints version info and exits.
๐ COLORS ๐
so if you want your clock to be viewable in color (and why wouldn't you ๐
), include the following in the #ifdef COLOR section you read with xrdb:
*customization: -color
this will cause oclock to pick up the colors in the app-defaults color customization file: /usr/lib/X11/app-defaults/Clock-color. below are the default colors, bestie, take notes ๐
Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow
๐ฆ SEE ALSO ๐ฆ
X(7), X Toolkit documentation
โญ AUTHOR โญ
Keith Packard, MIT X Consortium โ we stan a legend ๐ซถ
okay that's the whole page, go forth and have the prettiest clock on the block ๐ญ๐
and that's a wrap, bestie โ this was X Version 11, oclock 1.0.6, iykyk ๐ธ๐
๐ฆ where this page comes from
- arch rolling: xorg-oclock 1.0.6-1 ยท MIT-open-group
- fedora 43: oclock 1.0.6-3.fc43 ยท MIT
- fedora 44: oclock 1.0.6-4.fc44 ยท MIT
- Copyright 1989, 1998 The Open Group
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms