diff --git a/home/.chezmoiscripts/_universal/run_onchange_before_10-remove-bloatware.tmpl b/home/.chezmoiscripts/_universal/run_onchange_before_10-remove-bloatware.tmpl index 0de8367e..5fbdf8e7 100644 --- a/home/.chezmoiscripts/_universal/run_onchange_before_10-remove-bloatware.tmpl +++ b/home/.chezmoiscripts/_universal/run_onchange_before_10-remove-bloatware.tmpl @@ -6,6 +6,10 @@ {{- $removePackages := join " " .removeLinuxPackages }} +echo "HEREEEE" +echo '{{ $removePackages }}' +echo "DONNEEEE" + ### Remove bloatware packages defined in .chezmoidata.yaml for PKG in {{ $removePackages }}; do if command -v apk > /dev/null; then diff --git a/home/.chezmoiscripts/universal/run_onchange_after_99-restart-gnome.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_99-restart-gnome.tmpl new file mode 100644 index 00000000..1027daba --- /dev/null +++ b/home/.chezmoiscripts/universal/run_onchange_after_99-restart-gnome.tmpl @@ -0,0 +1,10 @@ +{{- if eq .host.distro.family "linux" -}} +#!/usr/bin/env bash + +### Restart GNOME +if command -v gnome-shell > /dev/null; then + logg info 'Reloading `gnome-shell`' + killall -3 gnome-shell +fi + +{{ end -}} diff --git a/home/dot_local/bin/executable_install-gnome-extensions b/home/dot_local/bin/executable_install-gnome-extensions index 40a6ee90..1efd97df 100644 --- a/home/dot_local/bin/executable_install-gnome-extensions +++ b/home/dot_local/bin/executable_install-gnome-extensions @@ -13,6 +13,9 @@ # # ################################################################# +### NOTE ### +# The upstream project might not work - some modification was necessary on this file + #vars script_revision="v1.2.1" args_count="$#"