a simple clock overlay for wayland
This repository has been archived on 2026年02月15日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- Zig 100%
| protocol | Initial commit | |
| src | Update to zig 0.14.0 | |
| .gitignore | Initial commit | |
| build.zig | Increment version | |
| build.zig.zon | Increment version | |
| COPYING | Add GPLv3 in ./COPYING | |
| README.md | Update README.md | |
beanclock
beanclock is a simple clock overlay for Wayland compositors.
This project is archived! I have implemented a bar directly into beansprout, my window manager for River's new river-window-management protocol
Usage
beanclock [-hV] [--font <FONTS>] [--text-color <COLOR>] [--background-color <COLOR>] [--border-color <COLOR>] [--border-width <WIDTH>] [--12] [--24] [-l <LAYER>] [-p <POSITION>]
A longer explanation of the CLI arguments can be found with beanclock --help, but just running beanclock without arguments will show a centered clock on all outputs.
I recommend using a monospace font for the best experience, though it's not strictly required.
Requirements
Runtime
- fcft (Okay... I'm not 100% sure if fcft/pixman are just compile time or really are runtime)
- pixman
- wayland-client
Compile time
- Development packages for all the libraries listed under runtime.
TODO (in no particular order):
- Create a clock overlay
- Add some basic CLI args for configuration
- Create my own CLI-arg parsing
- Add CLI arg for which output(s) to put the clock on
- Add CLI arg for colored outline around the clock
- Add some way to hide/show the clock
License
beanclock uses the GPLv3 license. A copy can be found in COPYING.