feat: added dms plugin installation

This commit is contained in:
2026-08-03 16:58:06 +02:00
parent 3e7ad05605
commit 797d2d1ba0
5 changed files with 82 additions and 200 deletions
+20 -1
View File
@@ -9,6 +9,14 @@ SYS="{{ .system | default "desktop" }}"
DISTRO_ID="{{ .chezmoi.osRelease.id | default "" }}"
SRC="{{ .chezmoi.sourceDir }}"
dmsPlugins=(
quickCapture
timer
calculator
dankKDEConnect
emojiLauncher
)
if [ "$SYS" = "server" ]; then
echo ">>> [desktop] system=server, skipping"
exit 0
@@ -39,7 +47,17 @@ case "$DISTRO_ID" in
hyprland greetd ghostty
# Dank Shell - sed workaround to pass args to installer
echo ">>> [desktop] installing shell"
sudo -v && curl -fsSL https://install.danklinux.com | sed 's#\./installer$#./installer "$@"#' | sh -s -- -c hyprland -t ghostty --include-deps dms-greeter,danksearch,dankcalendar -y
echo ">>> [desktop] installing shell-plugins"
for pl in "${dmsPlugins[@]}"; do
if dms plugins install "$pl"; then
echo "✓ $pl: installed"
else
echo "✗ $pl: failed"
fi
done
# Apply dconf defaults
DCONF_INI="$SRC/assets/dconf_gtk.ini"
@@ -49,7 +67,8 @@ case "$DISTRO_ID" in
|| warn "dconf load failed (DBus session may be unavailable)"
fi
# Firefox theming
# Theming
echo ">>> [desktop] applying themes"
pipx install pywalfox || warn "pipx install pywalfox failed"
~/.local/bin/pywalfox install || warn "pywalfox install failed (Firefox may not be configured)"
mkdir -p ~/.cache/wal