Update 3 files

- /home/dot_local/bin/executable_install-gnome-extensions
- /home/.chezmoiscripts/universal/run_onchange_after_99-restart-gnome.tmpl
- /home/.chezmoiscripts/_universal/run_onchange_before_10-remove-bloatware.tmpl
This commit is contained in:
Brian Zalewski 2023-01-24 11:29:33 +00:00
parent 129ee65e8c
commit d48916dbb1
3 changed files with 17 additions and 0 deletions

View file

@ -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

View file

@ -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 -}}

View file

@ -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="$#"