mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-25 12:37:47 -04:00
default instead of prefer-light
This commit is contained in:
1 parent
d83478239e
commit
d213045168
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user