mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-02 06:49:23 +00:00
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:
@ -32,6 +32,13 @@ else
|
|||||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||||
fi
|
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
|
# Trigger alacritty config reload
|
||||||
touch "$HOME/.config/alacritty/alacritty.toml"
|
touch "$HOME/.config/alacritty/alacritty.toml"
|
||||||
|
|
||||||
|
@ -10,6 +10,11 @@ if ! yay -Q gnome-themes-extra &>/dev/null; then
|
|||||||
yay -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
yay -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Allow icons to match the theme
|
||||||
|
if ! yay -! yaru-icon-theme &>/dev/null; then
|
||||||
|
yay -S --noconfirm yaru-icon-theme
|
||||||
|
fi
|
||||||
|
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||||
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||||
|
|
||||||
|
9
migrations/1754047941.sh
Normal file
9
migrations/1754047941.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
echo "Add icon theme coloring"
|
||||||
|
|
||||||
|
if ! yay -! yaru-icon-theme &>/dev/null; then
|
||||||
|
yay -S --noconfirm yaru-icon-theme
|
||||||
|
|
||||||
|
if [[ -f ~/.config/omarchy/current/theme/icons.theme ]]; then
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)"
|
||||||
|
fi
|
||||||
|
fi
|
1
themes/catppuccin-latte/icons.theme
Normal file
1
themes/catppuccin-latte/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-blue
|
1
themes/catppuccin/icons.theme
Normal file
1
themes/catppuccin/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-purple
|
1
themes/everforest/icons.theme
Normal file
1
themes/everforest/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-sage
|
1
themes/gruvbox/icons.theme
Normal file
1
themes/gruvbox/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-olive
|
1
themes/kanagawa/icons.theme
Normal file
1
themes/kanagawa/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-blue
|
1
themes/matte-black/icons.theme
Normal file
1
themes/matte-black/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-red
|
1
themes/nord/icons.theme
Normal file
1
themes/nord/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-blue
|
1
themes/ristretto/icons.theme
Normal file
1
themes/ristretto/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-yellow
|
1
themes/rose-pine/icons.theme
Normal file
1
themes/rose-pine/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-blue
|
1
themes/tokyo-night/icons.theme
Normal file
1
themes/tokyo-night/icons.theme
Normal file
@ -0,0 +1 @@
|
|||||||
|
Yaru-magenta
|
Reference in New Issue
Block a user