summaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-07-30Add number to mimick common analogue clocksmasterRose2-9/+26
2025-07-30Add basic positioning and appearance changesRose1-7/+8
2021-12-30Fix option handlingLeon Henrik Plickat1-1/+2
2021-12-21Fix Wayland event flushingLeon Henrik Plickat1-11/+14
Before this patch, the flush loop could get stuck
2021-12-13Even more cleanup and commenting thingsLeon Henrik Plickat3-43/+42
2021-12-13More cleanupLeon Henrik Plickat1-13/+18
2021-12-13Minor code cleanupLeon Henrik Plickat3-17/+12
2021-12-13Do not update unrelated layer surface settings on configure eventLeon Henrik Plickat4-54/+53
Before this patch, wlclock would always update all layer surface settings on every configure event. This is known to create a feedback loop with faulty compositors (see https://github.com/swaywm/sway/pull/6709). While wlclock did nothing wrong before, not updating these settings is more idiomatic.
2021-11-26Only include execinfo.h when glibc is usedLeon Henrik Plickat1-0/+5
2021-11-19Use correct OS macro for guarding execinfo.hLeon Henrik Plickat1-2/+2
2021-11-19Fix multi-cussor mishapLeon Henrik Plickat1-2/+2
2021-11-14Improve signal handlingLeon Henrik Plickat1-69/+100
This patch replaces the signalfd based signal handling with a more traditional approach. Since this is not only more reliable, but also more portable, the compile time option to turn off signal handling has been removed. It was only optional before based on signalf being a linux-ism.
2021-11-14Use global contextLeon Henrik Plickat11-294/+282
2020-11-25Fix handle-signals build optionLeon Henrik Plickat1-3/+16
2020-10-05Remove unused surface functionsLeon Henrik Plickat2-20/+0
2020-09-30Bump versiont to v1.0.0Leon Henrik Plickat1-4/+1
2020-09-28Change face/hand line width configurationLeon Henrik Plickat3-47/+24
Also decided there will be no additional hand styles, so removed --hand-style option. Xclock like hands can be enabled by setting the hand width to 0 (default).
2020-09-28Rip out frame callbackLeon Henrik Plickat4-101/+21
Apparently, requesting a callback is asking "when can I render the /next/ frame?", not asking "when can I render /this/ frame?". Huh...
2020-09-26Render on callbackLeon Henrik Plickat7-46/+140
2020-09-26Improve line size configurationLeon Henrik Plickat3-12/+25
2020-09-26`--position` instead of `--anchor`Leon Henrik Plickat2-38/+39
2020-09-25Simplify hand drawingLeon Henrik Plickat1-26/+21
2020-09-25Add "lines" clock hand styleLeon Henrik Plickat3-31/+73
2020-09-25Make hour hand slowly progress instead of snappingLeon Henrik Plickat3-17/+24
The snapping behaviour can be re-enabled via a command flag
2020-09-25Write man pageLeon Henrik Plickat1-1/+4
2020-09-25Draw clock handsLeon Henrik Plickat6-34/+166
2020-09-25Make size of clock face lines configurableLeon Henrik Plickat3-27/+61
And use enum for long options
2020-09-25Fix clockface when drawing on scaled outputLeon Henrik Plickat1-5/+5
2020-09-25Avoid too large radii which cause unexpected drawing behaviourLeon Henrik Plickat1-1/+11
2020-09-25Draw clock faceLeon Henrik Plickat2-3/+35
2020-09-25Change dimension model to ensure square centerLeon Henrik Plickat5-101/+121
2020-09-25Implement all configuration options and signal handlingLeon Henrik Plickat5-48/+285
2020-09-24Render backgroundLeon Henrik Plickat8-5/+288
2020-09-24Expand command flag handling to hold all (future) flagsLeon Henrik Plickat1-10/+66