2026-03-10 20:13:35 +01:00

876 B

dwl bar-modes patch example

Description

Add a mode indicator to bar that tells which mode you are in, just like river-classic's dam bar.

The string from modes_labels defined in config.h is used, while normal mode is ignored.

Another usage is to serve as a hint for each modes keybindings:

enum {
    BROWSER,
};
const char *modes_labels[] = {
    "[f]irefox [b]rave [c]hromium [q]utebrowser",
};

Dependencies

this patch depends on:

Download

Authors