Skip to content

Conversation

yitsushi
Copy link

@yitsushi yitsushi commented Apr 22, 2021

First I tried to add a compact mode because it was too big for me, so started to hack around to make it smaller, but it was way harder than I thought with all the (x,y) coordinates, so I started to refactor to use normal strings without spacing and build up the board piece by piece. So that's how I ended up with this change-set.

At the same time I moved all 4 dots to the top row because that way it's much easier for my eyes and easier to see how many of them are active (opposed to check corners).

At this point I do not expect it can land in the repo from a PR as it has a lot of changes, even on how it looks by default, but I'll give it a shot ;) Below two screenshots how it looks like now with compact and normal view. Default is the original size.

Compact view (Flags: -on-color=red+bold -off-color=black+bold -compact):
image

The original size with the dot changes: Compact view (Flags: -on-color=red+bold -off-color=black+bold):
image

Note: I love this clock, but it was always space consuming in my tmux.

@yitsushi
Copy link
Author

Added a -show-am-pm flag too for AM/PM (362dc1c).

image

* Rewrite to be easier to change values
* Add compact mode
* Fix one off on quarter index
* Add flag to display AM/PM state.

The AM/PM was already on the board, but was never used, it was a filler,
but it can be useful and if it's already on the board, why not make
it visible with a flag?

Signed-off-by: Efertone <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant