TzClock(1)

πŸ“¦ version 3.1.7, in fedora 43, fedora 44

πŸ•°οΈ TzClock β€” it's giving world clock, bestie πŸ’–

okay so this is from the General Commands Manual section (iykyk), and it's literally about showing you the time all around the world. let's get into it ✨

✨ NAME ✨

TzClock β€” display the time around the world πŸŒπŸ¦‹

✨ SYNOPSIS ✨

TzClock [OPTION]...

✨ DESCRIPTION ✨

TzClock can display the time around the world, no cap. it supports multiple faces showing different time zones, so you can have a whole little squad of clocks going at once πŸ‘‘. there's also a stopwatch that's accurate to a tenth of a second (she's precise, she's that girl πŸ’…). plus a bunch of other nice features for you to discover β€” go explore, bestie πŸŽ€


Options 🌸

  • -a β€” toggle always on top. she stays in front, main character energy only ✨
  • -A β€” hh:mm:msg set the alarm message to be shown at the specified time. for example: -A17:30:"Time to go home"
  • -b β€” toggle showing the small second hand πŸ•°οΈ
  • -B β€” toggle showing the second hand bounce (yes, the little wiggle, iconic) πŸ¦‹
  • -c β€” nnn#RRGGBB change one of the clock colours. the details of the codes are down below in the colours section, fr fr. for example: -cfce#1267FF
  • -C β€” config.file specify the configuration file to use. this file should be in your home directory. the default file is: .tzclockrc
  • -d β€” nnn:format change one of the date formats. the format is the same as the date command, with some extras sprinkled on top. details of the codes are below. for example: -dftl:"%*"
  • -f β€” face select the face. for future settings, the faces are numbered left to right, top to bottom. some settings β€” like timezone β€” only affect one face, so you gotta select the face first, periodt
  • -F β€” font select the font to use on the clock face πŸ’œ
  • -h β€” switch off the second hand
  • -H β€” <name>:s:l:t set the hand style. the name can be: hour, minute, second, sub_second, stopwatch or alarm. (s) the style is a number from [0-5], altho not all of the styles are actually defined. (l) the length of the hand from the centre. (t) the length of the tail in the other direction to the hand. 0 Quadratic (default), 1 Triangle, 2 Rectangle, 3 Pointer, 4 Arrow, 5 Simple line.
  • -i β€” use the clock icon from the current theme 🌈
  • -l β€” toggle locking the screen position β€” that means no drag and drop, she's staying put
  • -m β€” ts set the marker type and step, default is -m13. (t) the marker type, (s) the step controls which hours have markers. 0 No markers, 1 Triangles (default), 2 Circles, 3 Latin digits, 4 Roman numerals.
  • -n β€” cnum or rnum set the number of columns and rows. heads up: the maximum number of clocks is 36, with no more than 10 in a line. for example: -nc5 -nr3
  • -o β€” city specify your own city name for a timezone πŸ™οΈ
  • -q β€” quick time setting, no smooth scrolling (she's efficient πŸ’…)
  • -s β€” size set the size of each clock. the size gets rounded to a multiple of 64.
  • -S β€” enable the stopwatch ⏱️
  • -w β€” put on all work-spaces
  • -x β€” posn set the X screen position
  • -y β€” posn set the Y screen position. note: both X and Y must be set, so don't be doing just one, bestie πŸ™ˆ
  • -z β€” zone select timezone to display. for example: -zLondon
  • -24 β€” show a 24 hour clock πŸ•›
  • -? β€” show command line help information

🌈 COLOURS 🌈

so to change one of the colours you need to enter the colour's code. see the details of the -c option up above πŸ’–

  • cbf β€” Clock outer border when the face has focus.
  • cbn β€” Clock outer border when the face does not have focus.
  • cbi β€” Clock inner border.
  • fce β€” Main clock face colour.
  • fsw β€” Stopwatch face colour.
  • txt β€” Colour of the text.
  • cbf β€” Clock border when focused.
  • cbn β€” Clock border not focused.
  • cbi β€” Clock border inner circle.
  • fce β€” Clock face colour.
  • fsw β€” Stopwatch dial colour.
  • txt β€” Information text colour.
  • hrh β€” Hour hand outer colour.
  • hhf β€” Hour hand fill colour.
  • mnh β€” Minute hand outer colour.
  • mhf β€” Minute hand fill colour.
  • sch β€” Second hand outer colour.
  • shf β€” Second hand fill colour.
  • alh β€” Alarm hand outer colour.
  • ahf β€” Alarm hand fill colour.
  • swh β€” Stopwatch hand outer colour.
  • swf β€” Stopwatch hand fill colour.
  • hrm β€” Hour marker colour.
  • mnm β€” Minute marker colour.
  • swm β€” Stopwatch marker colour.
  • qum β€” Quarter marker colour.
  • qmf β€” Quarter marker fill colour.
ngl, cbf, cbn, cbi, fce, fsw and txt each show up twice in that list. that's exactly how the original page has it β€” I'm not merging them, I'm not fixing them, I'm just reporting the vibes πŸ’€

πŸŽ€ DATES πŸŽ€

to change the format of one of the dates you need its code, bestie ✨

  • ftl β€” Clock top in local-time.
  • ftz β€” Clock top for timezone.
  • stl β€” Stopwatch top in local-time.
  • stz β€” Stopwatch top for timezone.
  • fbl β€” Clock bottom in local-time.
  • fbz β€” Clock bottom for timezone.
  • sbl β€” Stopwatch bottom in local-time.
  • sbz β€” Stopwatch bottom for timezone.
  • wtl β€” Window title in local-time.
  • wtz β€” Window title for timezone.
  • cbl β€” Copy date time in local-time.
  • cbz β€” Copy date time for timezone.
  • cdl β€” Copy date in local-time.
  • cdz β€” Copy date for timezone.
  • ctl β€” Copy time in local-time.
  • ctz β€” Copy time for timezone.

🌸 DATE FORMAT 🌸

to specify a date format you can use the same format as the date command β€” that way your locale info gets used, slay 🌍. and on top of the date command's stuff, there are a few extras defined just for TzClock:

  • %# β€” Time zone city, upper-cased and wrapped.
  • %* β€” Time zone city.
  • %@ β€” Time zone area.
  • %& β€” Stopwatch time: h:mm:ss.hh.

⭐ EXAMPLE ⭐

here's an example showing the command line for displaying four clocks showing different time zones, with changes to one of the colours and one of the dates πŸ‘‘

TzClock -l -nr2 -nc2 -f1 -u -f2 -h -u -z"Moscow" -f3 -h -u -z"London"
-f4 -h -u -z"New York" -s128 -ccbn"#000000" -x100 -y200 -dwtl:"%H:%M,
%a. %-d %b."

πŸ‘‘ AUTHOR πŸ‘‘

Written by Chris Knight.

😭 REPORTING BUGS 😭

Report bugs to <chris@theknight.co.uk>.

πŸ’œ SEE ALSO πŸ’œ

date(1)


🫢 and that's the whole page, bestie. this one's from the General Commands Manual, and the page itself is dated 11 Nov 2009 β€” yeah, she's been serving accurate time since way back. vintage but iconic πŸ’–βœ¨πŸ•°οΈ
πŸ“¦ where this page comes from