Update 2 files
- /home/.chezmoiexternal.toml - /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl
This commit is contained in:
parent
fdcec1031a
commit
56cbb7e535
2 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,11 @@
|
|||
url = "https://gitlab.com/megabyte-labs/misc/betelgeuse.git"
|
||||
clone.args = ["--depth", "1"]
|
||||
pull.args = ["--ff-only"]
|
||||
[".local/src/candy-icons"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/EliverLara/candy-icons.git"
|
||||
clone.args = ["--depth", "1"]
|
||||
pull.args = ["--ff-only"]
|
||||
[".local/src/yoru"]
|
||||
type = "git-repo"
|
||||
url = "https://github.com/rxyhn/yoru.git"
|
||||
|
|
|
@ -18,4 +18,15 @@ if dconf read /org/gnome/shell/enabled-extensions | grep dash-to-dock > /dev/nul
|
|||
fi
|
||||
fi
|
||||
|
||||
### Merge latest Candy icons into the Betelgeuse icon theme
|
||||
if command -v rsync > /dev/null; then
|
||||
if [ -d "$HOME/.local/src/candy-icons" ] && [ -d "/usr/local/share/icons/{{ .theme }}" ]; then
|
||||
rsync -rtvu "$HOME/.local/src/candy-icons/" "/usr/local/share/icons/{{ .theme }}/"
|
||||
else
|
||||
logg warn 'Skipping synchronization of Candy icons since either the target or destination folder is not present'
|
||||
fi
|
||||
else
|
||||
logg warn '`rsync` is missing from the system!'
|
||||
fi
|
||||
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue