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:
parent
129ee65e8c
commit
d48916dbb1
3 changed files with 17 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
{{- $removePackages := join " " .removeLinuxPackages }}
|
{{- $removePackages := join " " .removeLinuxPackages }}
|
||||||
|
|
||||||
|
echo "HEREEEE"
|
||||||
|
echo '{{ $removePackages }}'
|
||||||
|
echo "DONNEEEE"
|
||||||
|
|
||||||
### Remove bloatware packages defined in .chezmoidata.yaml
|
### Remove bloatware packages defined in .chezmoidata.yaml
|
||||||
for PKG in {{ $removePackages }}; do
|
for PKG in {{ $removePackages }}; do
|
||||||
if command -v apk > /dev/null; then
|
if command -v apk > /dev/null; then
|
||||||
|
|
|
@ -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 -}}
|
|
@ -13,6 +13,9 @@
|
||||||
# #
|
# #
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
|
### NOTE ###
|
||||||
|
# The upstream project might not work - some modification was necessary on this file
|
||||||
|
|
||||||
#vars
|
#vars
|
||||||
script_revision="v1.2.1"
|
script_revision="v1.2.1"
|
||||||
args_count="$#"
|
args_count="$#"
|
||||||
|
|
Loading…
Reference in a new issue