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

matugen: auto re-load kitty config on color changes

This commit is contained in:
bbedward
2025-10-28 11:01:26 -04:00
parent 8bf23d820f
commit cfa7d12dd3

View File

@@ -309,6 +309,9 @@ EOF
printf "%s\n\n" "$OUT" > "$TMP"
cat "$CONFIG_DIR/kitty/dank-theme.conf" >> "$TMP"
mv "$TMP" "$CONFIG_DIR/kitty/dank-theme.conf"
if [[ -f "$CONFIG_DIR/kitty/kitty.conf" ]] && grep -q "^[^#]*dank-theme.conf" "$CONFIG_DIR/kitty/kitty.conf" 2>/dev/null; then
pkill -USR1 -x kitty >/dev/null 2>&1 || true
fi
fi
fi