Skip to content

[dms-greeter] MangoWC config not loaded after v0.10.7 MANGOCONFIG removal #904

@FarokhRaad

Description

@FarokhRaad

Compositor

  • niri
  • Hyprland
  • dwl (MangoWC)
  • sway

Distribution

Arch Linux

dms version

dms v0.6.2-207-g33e655be

Description

dms-greeter does not load the compositor config passed with -C, for example:

dms-greeter --command mangowc -C /etc/greetd/mangowc.conf

This is caused by a breaking change in MangoWC v0.10.7, which removed the MANGOCONFIG environment variable. The current dms-greeter script still uses this deprecated mechanism, so MangoWC always launches with default settings.

MangoWC v0.10.7 now requires configs to be passed via:

mango -c /path/to/config.conf

Minimal Fix

Replace the old mangowc block in the dms-greeter script with:

mangowc)
    if [[ -n "$COMPOSITOR_CONFIG" ]]; then
        exec mango -c "$COMPOSITOR_CONFIG" \
                   -s "$QS_CMD && mmsg -d quit"
    else
        exec mango -s "$QS_CMD && mmsg -d quit"
    fi
    ;;

This restores correct config loading under MangoWC v0.10.7+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions