This is a toy project for learning Wayland and the first graphical project I've ever written.
The wlr-layer-shell-unstable-v1
rust skeleton code is from
https://github.com/PurestAsh/wayland_hello_world_rust (https://bbs.deepin.org/post/280508)
It should show a 96x64 widget.
or with image
or with external "timer"
wl-binclock --fg 0xff80e8b6 0xffa1fff9 0xffbd7cf8 0xff7288f6 # use a palette (from Chicory: A Colorful Tale)
wl-binclock --fg redstone_lamp_on.png --bg redstone_lamp.png # use a image palette
wl-binclock --bg 0 # full transparent
wl-binclock --anchor 9 # top-right (top=1 bottom=2 left=4 right=8)
You can pipe 6-hexdigit numbers into stdin when --pipe
is enabled.
command | wl-binclock --pipe
wl-binclock --pipe < fifo
I made this project because I can't find a binary clock for wayland.
- c4llv07e/binok not true "binary", though