feat: added dms plugin installation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user