Set the AccountsService icon file to ~/.face

This commit is contained in:
Anthony Rose 2024-06-17 11:03:42 +01:00
parent 6284f45618
commit bf1dcd42b0

View file

@ -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