1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

greeter: fix mango config override

fixes #904
This commit is contained in:
bbedward
2025-12-04 13:46:11 -05:00
parent 705a84051d
commit 7d177eb1d4

View File

@@ -208,14 +208,11 @@ SWAY_EOF
;;
mangowc)
TEMP_DIR=$(mktemp -d)
if [[ -n "$COMPOSITOR_CONFIG" ]]; then
cp "$COMPOSITOR_CONFIG" "$TEMP_DIR/config.conf"
exec mango -c "$COMPOSITOR_CONFIG" -s "$QS_CMD && mmsg -d quit"
else
touch "$TEMP_DIR/config.conf"
fi
export MANGOCONFIG="$TEMP_DIR"
exec mango -s "$QS_CMD && mmsg -d quit"
fi
;;
*)