Fixed multiple messages

This commit is contained in:
2025-08-23 15:36:41 +02:00
parent 4a268eef1a
commit 5fcd6c55ca
3 changed files with 11 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ extra_init() {
# TODO: Install jellyfin-media-player
# Install android-studio
sudo snap install android-studio --classic
sudo snap install android-studio --classic >/dev/null 2>&1
# TODO: Install zen browser

View File

@@ -68,7 +68,10 @@ configure_dash2dock_settings() {
configure_wallpapers_settings() {
if ! [ -d "/home/${USERNAME}/Images/Wallpapers" ]; then
git clone --depth 1 https://github.com/vhaudiquet/wallpapers "/home/${USERNAME}/Images/Wallpapers"
git clone --depth 1 https://github.com/vhaudiquet/wallpapers "/home/${USERNAME}/Images/Wallpapers" >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo -e "${BRed}Could not download wallpapers. Skipping.${NC}"
fi
fi
${DBUS_LAUNCH} dconf write /org/gnome/shell/extensions/azwallpaper/slideshow-directory "'/home/${USERNAME}/Images/Wallpapers'"

View File

@@ -153,8 +153,12 @@ source "${script_dir}/gnome.sh"
# Create gnome/gdm user info file
if ! [ -z "${USER_PICTURE_URL}" ]; then
echo "Downloading user profile picture..."
curl -L -o "/var/lib/AccountsService/icons/${USERNAME}" "${USER_PICTURE_URL}"
echo -e "[User]\nSession=\nIcon=/var/lib/AccountsService/icons/${USERNAME}\nSystemAccount=false\n" > /var/lib/AccountsService/users/${USERNAME}
curl -L -o "/var/lib/AccountsService/icons/${USERNAME}" "${USER_PICTURE_URL}" >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo -e "${BRed}Could not download user profile picture. Skipping.${NC}"
else
echo -e "[User]\nSession=\nIcon=/var/lib/AccountsService/icons/${USERNAME}\nSystemAccount=false\n" > /var/lib/AccountsService/users/${USERNAME}
fi
fi
# Install VSCode extensions