Lightweight dbus-less notification “daemon” for wlroots compositors.
  • C 94.7%
  • Makefile 5.3%
Find a file
Piotr Marendowski ad04df242a fix readme
2024-10-08 14:26:24 +02:00
.gitignore Add arguments 2024-09-01 18:10:14 +02:00
config.h Change config.h 2024-09-02 16:03:43 +02:00
default.png Add dynamic width 2024-09-02 16:00:05 +02:00
drwl.h Add luft 2024-08-22 09:16:04 +02:00
LICENSE Add luft 2024-08-22 09:16:04 +02:00
luft.c Reduce poll() timeout from 1 second to 1 millisecond lol 2024-10-08 14:20:42 +02:00
Makefile Reduce poll() timeout from 1 second to 1 millisecond lol 2024-10-08 14:20:42 +02:00
poolbuf.h Add luft 2024-08-22 09:16:04 +02:00
README.md fix readme 2024-10-08 14:26:24 +02:00
wlr-layer-shell-unstable-v1.xml Add luft 2024-08-22 09:16:04 +02:00

💨 luft

[air in german]

Lightweight dbus-less notification "daemon" for wlroots compositors implementing the zwlr_layer_shell_v1 protocol.

Uses drwl with fcft and pixman for drawing. Dynamically resizes the notification width and height based on the number of provided lines and their lenght (can be set manually). Can be anchored to every corner of the screen (also with margin).

Building

To build luft first ensure that you have the following dependencies:

  • wayland
  • wayland-protocols
  • fcft
  • pixman
  • pkg-config

Afterwards, run:

make
make install

Usage

Default colors with the FiraCode font:

default settings

luft "Low Battery" "" "20% battery remaining."

See the luft -h or config.h file for more configuration options.

Attributions

A lot of code and ideas come from wtw, drwl's example and herbe.

License

MIT