Repository navigation
Expand file tree
/
Copy pathru-clock.conf.example
More file actions
57 lines (46 loc) · 1.65 KB
/
Copy pathru-clock.conf.example
File metadata and controls
57 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Example config. Copy to ~/.config/ru-clock/ru-clock.conf and edit.
# (Coords below are fake—put your own.)
# Time format (strftime-ish):
# %H hour (24h), %I hour (12h), %M minute, %S second, %d day, %b short month.
format = "%H:%M:%S"
# Refresh rate in milliseconds.
tick_ms = 1000
# Font options: rounded | slim | block
font = "rounded"
# Characters for lit/unlit segments.
glyph_on = "█"
glyph_off = "░"
# When false, unlit segments are just spaces (cleaner, thinner).
show_off_segments = false
# Space between digits/colon.
digit_spacing = 1
# Blink the colon on/off every second.
blink_colon = true
[padding]
horizontal = 0
vertical = 0
[alignment]
# left | center | right
horizontal = "center"
# top | center | bottom
vertical = "center"
[colors]
foreground = "#8af3ff"
background = "" # inherit terminal; set to "black" to force black bg
accent = "#ff7edb"
secondary = "#ffd166"
duotone = true
[weather]
enabled = true
latitude = 0.0 # change to your lat
longitude = 0.0 # change to your lon
refresh_secs = 900 # fetch every 15 minutes
unit = "c" # c | f
show_ascii = true # render multi-line ASCII art for conditions
animate_ascii = true # gently animate ASCII blocks (rain drift, thunder flash)
show_icon = true # prepend ASCII icon like SUN/CLD, RAIN, T-STORM
show_summary = true # include human text like "Mostly clear"
show_location = true # append location name/coords
location_name = "" # optional label; falls back to "lat,lon" when show_location = true
auto_locate = false # if true, geocode on startup using geocode_query/location_name
geocode_query = "" # e.g., "Austin, TX"