1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

default instead of prefer-light

This commit is contained in:
bbedward
2025-10-04 01:18:43 -04:00
parent d83478239e
commit d213045168

View File

@@ -239,7 +239,7 @@ build_once() {
mv "$TMP" "$CONFIG_DIR/kitty/dank-theme.conf"
fi
fi
COLOR_SCHEME=$([[ "$mode" == "light" ]] && echo prefer-light || echo prefer-dark)
COLOR_SCHEME=$([[ "$mode" == "light" ]] && echo default || echo prefer-dark)
if command -v dconf >/dev/null 2>&1; then
dconf write /org/gnome/desktop/interface/color-scheme "\"$COLOR_SCHEME\"" 2>/dev/null || true
[[ "$icon" != "System Default" && -n "$icon" ]] && dconf write /org/gnome/desktop/interface/icon-theme "\"$icon\"" 2>/dev/null || true