a small clock for X11 that displays time as pixels
C
Pull request Compare This branch is 17 commits ahead of jcs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README.md
pixelclock.c

README.md

pixelclock

Usage

pixelclock [-display host:dpy] [-left|-right|-top|-bottom] [-size <pixels>]
	[-background <color>] [-tickcolor <color>] [-timecolor <color>] [-highcolor <color>]
	[time time2 ...]
  • Colors are X11 named colors.
  • Default size if 3 pixels.
  • Times are of format hh:mm.
  • Default times are: 09:00, 12:00, 17:00
  • Long-form command line arguments are required.

Original Idea

https://jcs.org/notaweblog/2005/06/28/pixelclock/

Changes in this Fork

  • Convert to EWMH panel with struts.
  • Add configurable colors.
  • Add Xinerama/Xrandr check to:
    • Avoid crossing monitor edges.
    • Support monitors with different sizes (root window dead space problem).