Update 6 files
- /home/private_dot_config/dconf/settings/org.gnome.desktop.applications - /home/private_dot_config/dconf/settings/system.proxy - /home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl - /home/private_dot_config/dconf/settings/org.gnome.desktop.screensaver - /home/private_dot_config/dconf/settings/org.gnome.desktop.background - /home/private_dot_config/dconf/settings/org.gtk.settings.debug
This commit is contained in:
parent
81cccf3cc9
commit
9563fec540
6 changed files with 26 additions and 12 deletions
|
@ -40,26 +40,26 @@ else
|
||||||
logg warn '`squash-symlink` is not a script in the PATH'
|
logg warn '`squash-symlink` is not a script in the PATH'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Copy /usr/local/share/backgrounds to /usr/share/backgrounds (required for GNOME wallpaper on Ubuntu)
|
### Ensure /usr/share/backgrounds/default.png is deleted
|
||||||
if [ -d /usr/local/share/backgrounds ] && command -v rsync > /dev/null; then
|
if [ -f /usr/share/backgrounds/default.png ]; then
|
||||||
sudo rsync -atvu --include "*.jpg" --exclude "*" /usr/local/share/backgrounds/ /usr/share/backgrounds
|
sudo rm -f /usr/share/backgrounds/default.png
|
||||||
sudo rsync -atvu --include "*.jpg" --exclude "*" /usr/local/share/backgrounds/images/ /usr/share/backgrounds
|
|
||||||
logg success 'Synchronized the background images in /usr/local/share/backgrounds to /usr/share/backgrounds'
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Add the default image symlink based on the OS
|
### Add the default image symlink based on the OS
|
||||||
if [ '{{ .host.os.id }}' == 'archlinux' ]; then
|
if [ '{{ .host.distro.id }}' == 'archlinux' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Archlinux/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Archlinux/contents/source.png /usr/share/backgrounds/default.png
|
||||||
elif [ '{{ .host.os.id }}' == 'centos' ]; then
|
elif [ '{{ .host.distro.id }}' == 'centos' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-CentOS/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-CentOS/contents/source.png /usr/share/backgrounds/default.png
|
||||||
elif [ '{{ .host.os.id }}' == 'darwin' ]; then
|
elif [ '{{ .host.distro.id }}' == 'darwin' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-macOS/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-macOS/contents/source.png /usr/share/backgrounds/default.png
|
||||||
elif [ '{{ .host.os.id }}' == 'debian' ]; then
|
elif [ '{{ .host.distro.id }}' == 'debian' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Debian/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Debian/contents/source.png /usr/share/backgrounds/default.png
|
||||||
elif [ '{{ .host.os.id }}' == 'fedora' ]; then
|
elif [ '{{ .host.distro.id }}' == 'fedora' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Fedora/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Fedora/contents/source.png /usr/share/backgrounds/default.png
|
||||||
elif [ '{{ .host.os.id }}' == 'ubuntu' ]; then
|
elif [ '{{ .host.distro.id }}' == 'ubuntu' ]; then
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Ubuntu/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Ubuntu/contents/source.png /usr/share/backgrounds/default.png
|
||||||
|
elif [ '{{ .host.distro.id }}' == 'windows' ]; then
|
||||||
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse-Windows/contents/source.png /usr/share/backgrounds/default.png
|
||||||
else
|
else
|
||||||
sudo ln -s /usr/local/share/wallpapers/Betelgeuse/contents/source.png /usr/share/backgrounds/default.png
|
sudo ln -s /usr/local/share/wallpapers/Betelgeuse/contents/source.png /usr/share/backgrounds/default.png
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[/]
|
||||||
|
color-shading-type='solid'
|
||||||
|
picture-options='zoom'
|
||||||
|
picture-uri='file:///usr/local/share/wallpapers/Betelgeuse/contents/source.jpg'
|
||||||
|
picture-uri-dark='file:///usr/local/share/wallpapers/Betelgeuse/contents/source.jpg'
|
||||||
|
primary-color='#000000000000'
|
||||||
|
secondary-color='#000000000000'
|
|
@ -0,0 +1,6 @@
|
||||||
|
[/]
|
||||||
|
color-shading-type='solid'
|
||||||
|
picture-options='zoom'
|
||||||
|
picture-uri='file:///usr/local/share/wallpapers/Betelgeuse/contents/source.jpg'
|
||||||
|
primary-color='#000000000000'
|
||||||
|
secondary-color='#000000000000'
|
|
@ -0,0 +1,2 @@
|
||||||
|
[/]
|
||||||
|
enable-inspector-keybinding=true
|
|
@ -1 +0,0 @@
|
||||||
# Placeholder
|
|
Loading…
Reference in a new issue