Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bf3fda9a6 | ||
|
|
cd9209178f |
+24
-6
@@ -67,7 +67,7 @@ install_bootloader
|
||||
|
||||
echo ">> Bootstrapeando paru y paquetes AUR..."
|
||||
bootstrap_paru
|
||||
install_aur "${AUR_COMMON[@]}"
|
||||
install_aur "${AUR_COMMON[@]}" catppuccin-gtk-theme-mocha
|
||||
install_helpwire
|
||||
|
||||
echo ">> Servicios..."
|
||||
@@ -87,11 +87,7 @@ install -d -o "$INSTALL_USER" -g "$INSTALL_USER" \
|
||||
cat >"$USER_HOME/.local/bin/firstboot-theme.sh" <<'EOS'
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
CS="$HOME/.local/share/color-schemes/CatppuccinMochaBlue.colors"
|
||||
if [[ ! -f "$CS" ]]; then
|
||||
curl -fsSL -o "$CS" \
|
||||
"https://raw.githubusercontent.com/catppuccin/kde/main/Mocha/color-schemes/CatppuccinMochaBlue.colors" || true
|
||||
fi
|
||||
# El esquema CatppuccinMochaBlue.colors lo provee chezmoi (~/.local/share/color-schemes)
|
||||
# Teclado: US internacional con teclas muertas
|
||||
kwriteconfig6 --file kxkbrc --group Layout --key LayoutList "us"
|
||||
kwriteconfig6 --file kxkbrc --group Layout --key VariantList "intl"
|
||||
@@ -99,9 +95,31 @@ kwriteconfig6 --file kxkbrc --group Layout --key Use "true"
|
||||
plasma-apply-colorscheme CatppuccinMochaBlue 2>/dev/null || true
|
||||
plasma-apply-desktoptheme breeze-dark 2>/dev/null || true
|
||||
plasma-changeicons Papirus-Dark 2>/dev/null || true
|
||||
# Apps GTK (GIMP, etc.) con tema Catppuccin + iconos Papirus
|
||||
for v in 3.0 4.0; do
|
||||
mkdir -p "$HOME/.config/gtk-$v"
|
||||
cat >"$HOME/.config/gtk-$v/settings.ini" <<INI
|
||||
[Settings]
|
||||
gtk-theme-name=catppuccin-mocha-blue-standard+default
|
||||
gtk-icon-theme-name=Papirus-Dark
|
||||
gtk-application-prefer-dark-theme=true
|
||||
INI
|
||||
done
|
||||
# Fuentes
|
||||
kwriteconfig6 --file kdeglobals --group General --key font "JetBrains Mono Nerd Font,11,-1,5,50,0,0,0,0,0"
|
||||
kwriteconfig6 --file kdeglobals --group General --key fixed "JetBrains Mono Nerd Font Mono,12,-1,5,50,0,0,0,0,0"
|
||||
# El panel por defecto de Plasma clava Discover (no instalado en el setup mínimo)
|
||||
# -> icono en blanco que da error. Fijamos lanzadores limpios en el gestor de tareas.
|
||||
A="$HOME/.config/plasma-org.kde.plasma.desktop-appletsrc"
|
||||
grp=$(grep -B6 "plugin=org.kde.plasma.icontasks" "$A" 2>/dev/null | grep -oE "Containments\]\[[0-9]+\]\[Applets\]\[[0-9]+" | tail -1) || true
|
||||
if [[ -n "$grp" ]]; then
|
||||
c=$(grep -oE "Containments\]\[[0-9]+" <<<"$grp" | grep -oE "[0-9]+")
|
||||
a=$(grep -oE "Applets\]\[[0-9]+" <<<"$grp" | grep -oE "[0-9]+")
|
||||
kwriteconfig6 --file plasma-org.kde.plasma.desktop-appletsrc \
|
||||
--group Containments --group "$c" --group Applets --group "$a" \
|
||||
--group Configuration --group General \
|
||||
--key launchers "applications:org.kde.dolphin.desktop,applications:org.kde.konsole.desktop"
|
||||
fi
|
||||
rm -f "$HOME/.config/autostart/firstboot-theme.desktop"
|
||||
EOS
|
||||
chmod +x "$USER_HOME/.local/bin/firstboot-theme.sh"
|
||||
|
||||
Reference in New Issue
Block a user