rktime.conf(5)

πŸ“¦ version 0.6, in epel 9, fedora 43, fedora 44

πŸ’– NAME πŸ’–

rktime.conf β€” the config file for rktime (1), bestie πŸ•βœ¨


🌸 DESCRIPTION 🌸

okay so. the file rktime.conf is where you keep the variables that override the default settings of the rktime utility. and yes she is optional β€” you don't have to have her. but typically you'd use this file to change the default set of timezones that get displayed. that's the whole vibe. 🌍

rktime.conf lives in the /etc directory. that's her home. 🏠

⚠️ okay security bestie listen up: this file must only be owned by root or bin, and it must only be associated with group root or group bin. it should not have others write or others execute permission set. like, do not let the group chat touch this. πŸ™ˆπŸ”’

so to set a new set of timezones to display, you'd put a line like this in there:

ZONES="US/Pacific US/Eastern UTC Europe/London"

rktime also lets users have their own little file named .rktime.conf in their home directories πŸ‘πŸ’« β€” and a user's individual settings override the global settings, periodt. the format of .rktime.conf is exactly the same as rktime.conf. no cap. πŸ‘‘


🎨 the color variables 🎨

the following three variables can be set to change the default colors used:

WEEKDAY_COLOR=$GREEN

AFTERHOURS_COLOR=$BLUE

WEEKEND_COLOR=$WHITE

valid color settings are BLACK, RED, GREEN, YELLOW, BLUE, PURPLE, CYAN, and WHITE. that's the whole palette bestie, pick your fave πŸ’…


⏰ the rest of the settings ⏰

by default, offsets from UTC are not shown. to show these time offsets, set:

TIMEOFFSET=on

by default, color is used. to change the default to off, set:

COLOR=off

by default, the time format used is 24 hour time. to change this to 12 hour time, set:

TIMEFORMAT=12h

literally that's it, three little lines and you've customized your whole clock aesthetic βœ¨πŸ¦‹


🫢 SEE ALSO 🫢

  • rktime (1) β€” go read her, she's iconic

πŸ‘‘ AUTHOR πŸ‘‘

G. Richard Keech (rkeech@rehdat.com)


and that's the whole page, bestie!! this one came from the 4th Berkeley Distribution, dated $Date: 2000/08/09 07:02:23 $ β€” so yeah she's vintage, she's a classic, and she still slays πŸ’œπŸŽ€

πŸ“¦ where this page comes from