Skip to content

Commit 843183c

Browse files
authored
kocify.sh
Change wallpaper automatically
1 parent 6e2f9c5 commit 843183c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

kocify.sh

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,29 @@ function change_timezone {
5555
sudo ln -s /usr/share/zoneinfo/America/Mexico_City /etc/localtime
5656
}
5757

58+
function ubermix_download_background_image {
59+
cd /tmp/
60+
wget https://raw.githubusercontent.com/kidsoncomputers/kocifier/master/assets/Wallpaper%204x3.png
61+
sudo cp 'Wallpaper 4x3.png' /usr/share/backgrounds
62+
sudo chmod a+rw /usr/share/backgrounds/*
63+
}
64+
65+
function ubermix_configuration_background_image {
66+
gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/Wallpaper 4x3.png'
67+
gsettings set org.gnome.desktop.background picture-options 'scaled'
68+
gsettings set org.gnome.desktop.background primary-color '#ffffff'
69+
}
70+
71+
function ubermix_background_main {
72+
ubermix_download_background_image
73+
ubermix_configuration_background_image
74+
}
75+
5876
function ubermix_kocify {
5977
ubermix_update_packages
6078
ubermix_install_wireless_drivers
6179
ubermix_install_software
62-
# Change the wallpaper using commands
80+
ubermix_background_main
6381
# Install Kids Ruby
6482
# Change regional formats
6583
# Configure input methods

0 commit comments

Comments
 (0)