Allow themes to use a custom icon theme via the icons.theme file

They get to pick from the Yaru color set
This commit is contained in:
David Heinemeier Hansson
2025-08-01 14:23:29 +02:00
parent 95de571809
commit 3d22840543
13 changed files with 31 additions and 0 deletions

View File

@ -32,6 +32,13 @@ else
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
fi
# Change gnome icon theme color
if [[ -f ~/.config/omarchy/current/theme/icons.theme ]]; then
gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)"
else
gsettings set org.gnome.desktop.interface icon-theme "Adwaita"
fi
# Trigger alacritty config reload
touch "$HOME/.config/alacritty/alacritty.toml"