labwc/include/config
Johan Malm 5765586636 config: add <core><promptCommand>
...to enable configuration of the action prompt command.

Also set some better defaults for labnag.

The new default command is:

    labnag \
        --message '%m' \
        --button-dismiss '%n' \
        --button-dismiss '%y' \
        --background '%b' \
        --text '%t' \
        --border '%t' \
        --border-bottom '%t' \
        --button-background '%b' \
        --button-text '%t' \
        --border-bottom-size 1 \
        --button-border-size 3 \
        --timeout 0

...where the conversion specifiers are defined as follows:

    %m: the `<prompt>` message option
    %n: _("No")
    %y: _("Yes")
    %b: osd.bg.color
    %t: osd.label.text.color

This config options also enables the use of a different dialog client, for
example like this:

    <core>
      <promptCommand>zenity --question --text="%m"</promptCommand>
    </core>
2025-09-24 20:13:51 +01:00
..
default-bindings.h default-bindings.h: set combine="yes" for SnapToEdge keybinds 2025-09-19 16:23:23 +09:00
keybind.h tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
libinput.h seat: improve debug logging when configuring input devices 2025-08-27 13:07:01 -04:00
mousebind.h common: add node-type.c/h (renaming ssd_part_type to lab_node_type) 2025-09-06 16:00:20 -04:00
rcxml.h config: add <core><promptCommand> 2025-09-24 20:13:51 +01:00
session.h xwayland: support xinitrc scripts to configure server on launch (#1963) 2024-07-20 09:40:11 +01:00
tablet-tool.h include: add config/types.h 2025-08-21 16:55:25 +09:00
tablet.h include: add config/types.h 2025-08-21 16:55:25 +09:00
touch.h include: add missing header dependencies 2025-07-29 21:51:56 +01:00
types.h osd: support window switcher with thumbnails 2025-08-29 20:42:01 +01:00