Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 731 Bytes

File metadata and controls

43 lines (32 loc) · 731 Bytes

xclock assets

Fonts and visual assets for xclock.

Fonts

Font Size Description
block-5x5.txt 5x5 Default block font used by the kernel
mini-3x5.txt 3x5 Compact font for small terminals

Use a font in your config:

{
  "clock": {
    "font": "~/.config/xclock/fonts/mini-3x5.txt"
  }
}

Font format

A font file declares its size and then one block per character. Rows use # or any non-space character for filled cells and spaces for empty cells. Lines starting with // or ; are comments.

width = 3
height = 3

[1]
  #
 ##
  #

[2]
###
  #
###

Missing glyphs fall back to the built-in font.