README.md (502B)
1 # wlr-river-title 2 3 Prints the title of the currently focused view in the [River](https://codeberg.org/river/river) Wayland compositor and exits. Useful for feeding into status bars. 4 5 ## Building 6 7 ```sh 8 make 9 # or 10 cc wlr-river-title.c river-status.c -o wlr-river-title $(pkg-config --cflags --libs wayland-client) 11 ``` 12 13 ## Usage 14 15 ```sh 16 wlr-river-title 17 ``` 18 19 Prints one line to stdout and exits. Exits with status 1 if the Wayland display cannot be connected to or the river-status protocol is unavailable.