* work with swallow in jwm
* spawn user command with left mouse click
* shift between clock & date by mouse wheel
* mid mouse click toggle seconds on/off
* right mouse click toggle 12/24h
* added user selected background color
* added user selected digits color
Attached patch used & pet package with static linked bin.
Code: Select all
Usage: ofclock [option]
-1, --12 Display 12 hour time.
-2, --24 Display 24 hour time.
-n, --nosecond Don't display 'second'.
-p, --position x,y Position to display clock.
-d, --display displayname The X server to contact.
-t, --title name The name of the window.
-b, --background color The background color. Defaults "black"
-f, --foreground color The foreground color. Defaults "yellow"
-e, --exec command Mouse click command to run. Defaults "xcal"
-s, --shift +/- hour shift to another timezone.
-h, --help Display this help.