ab1f625265
- /home/.chezmoiscripts/universal/run_onchange_after_99-bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_100-cleanup.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_8-git-hooks.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_7-docker-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_6-bin-symlink.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_5-log-config.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_4-environment-profile.tmpl - /home/.chezmoiscripts/universal/run_before_1-decrypt-age-key.tmpl - /home/.chezmoiscripts/darwin/run_onchange_after_set-wallpaper.tmpl - /home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl - /home/.chezmoiscripts/darwin/run_onchange_after_10_configure-macos.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_5-install-homebrew.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_8-install-zx.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_9-ensure-node-version.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_95-bootstrap-zsh-plugins.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_98-cleanup.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_08-git-hooks.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_05-log-config.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_04-environment-profile.tmpl - /home/.chezmoiscripts/universal/run_before_01-decrypt-age-key.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_07-docker-plugins.tmpl - /home/.chezmoiscripts/darwin/run_onchange_after_21-set-wallpaper.tmpl - /home/.chezmoiscripts/darwin/run_onchange_before_10-install-darwin-dependencies.tmpl - /home/.chezmoiscripts/darwin/run_onchange_after_10-configure-macos.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_05-install-homebrew.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_08-install-zx.tmpl - /home/.chezmoiscripts/_universal/run_onchange_before_09-ensure-node-version.tmpl
10 lines
529 B
Bash
10 lines
529 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Betelgeuse-macOS wallpaper hash: {{ include (joinPath .chezmoi.homeDir ".local" "src" "betelgeuse" "share" "wallpapers" "Betelgeuse-macOS" "contents" "source.png") | sha256sum }}
|
|
|
|
### Set macOS wallpaper
|
|
if command -v m > /dev/null && [ -f "$HOME/.local/src/betelgeuse/share/wallpapers/Betelgeuse-macOS/contents/source.png" ]; then
|
|
m wallpaper "$HOME/.local/src/betelgeuse/share/wallpapers/Betelgeuse-macOS/contents/source.png"
|
|
else
|
|
logg warn 'Either `m` or the macOS default wallpaper is missing.'
|
|
fi
|