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 literally WhenMapped, Always, and NotUseful ๐Ÿฆ‹
  • -geometry geometry โ€” define the initial window geometry; see X(7).
  • -display display โ€” specify the display to use; see X(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 the shapeWindow resource 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