creek

A malleable and minimalist status bar for the River compositor

git clone https://git.8pit.net/creek.git

commits

2024-04-27 Bar: Fix logic error in abbrev_width calculation Sören Tempel
2024-04-27 README.md: Bump Zig version Sören Tempel
2024-04-26 README.md: Remove dependencies section Sören Tempel
2024-04-26 Merge branch 'zig-upgrade' Sören Tempel
2024-04-26 README.md: Update installation instructions Sören Tempel

Clone the repository to access all 150 commits.

README

Creek is a dwm-inspired malleable and minimalist status bar for the River Wayland compositor. The implementation is a hard fork of version 0.1.3 of the levee status bar. Compared to levee, the main objective is to ease recombination and reuse by providing a simpler interface for adding custom information to the status bar. The original version of levee only provides builtin support for certain modules, these have to be written in Zig and compiled into levee. This fork pursues an alternative direction by allowing arbitrary text to be written to standard input of the status bar process, this text is then displayed in the status bar.

Additionally, the following new features have been added:

Screenshot

Screenshot of River with a creek status bar

The screenshot features three active tags: tag 2 is currently focused and has one active window, tag 4 is not focused but is occupied (i.e. has windows), and tag 9 has an urgent window. In the middle of the status bar, the current title of the selected window on the focused tag is displayed. On the right-hand side, the current time is shown, this is information is generated using date(1) (see usage example below).

Build

The following dependencies need to be installed:

Afterwards, creek can be build as follows

$ git clone --recursive https://git.8pit.net/creek.git
$ cd creek
$ zig build

Configuration

This version of creek can be configured using several command-line options:

Example:

$ creek -fn Terminus:size=12 -hg 18 -nf 0xffffff -nb 0x000000

Usage Example

In order to display the current time in the top-right corner, invoke creek as follows:

$ ( while date; do sleep 1; done ) | creek

Note that for more complex setups, a shell script may not be the best option.