From bf1dcd42b01ba6da1b8c868b90af00d1efc14fae Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 17 Jun 2024 11:03:42 +0100 Subject: [PATCH] Set the AccountsService icon file to ~/.face --- roles/home-gui/files/gnome-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index a9551cb..32d7ddf 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -164,8 +164,6 @@ set_misc_preferences () { # Remove the wallpaper. gsettings set org.gnome.desktop.background color-shading-type 'solid' gsettings set org.gnome.desktop.background picture-options 'zoom' - gsettings set org.gnome.desktop.background picture-uri "file://$XDG_DATA_HOME/wallpaper-light.svg" - gsettings set org.gnome.desktop.background picture-uri-dark "file://$XDG_DATA_HOME/wallpaper-dark.svg" if [ -n "$_acp_dark_mode" ] then gsettings set org.gnome.desktop.background primary-color '#101010' @@ -198,6 +196,9 @@ set_misc_preferences () { # Reset the app picker layout. Will take effect after a gnome-shell restart # (log off and on again). gsettings reset org.gnome.shell app-picker-layout + + # Set the AccountsService icon file to ~/.face via dbus. + busctl call org.freedesktop.Accounts /org/freedesktop/Accounts/User$(id -u) org.freedesktop.Accounts.User SetIconFile "s" "$HOME/.face" } set_misc_preferences