install: gtk set theme

This commit is contained in:
2 * r + 2 * t
2025-02-24 11:27:10 +11:00
parent 9b1120219b
commit 781e762ff1
+8
View File
@@ -3,6 +3,7 @@
. (dirname (status filename))/util.fish
install-deps git adw-gtk-theme
install-optional-deps 'papirus-icon-theme (icon theme)'
set -l dist $C_DATA/gtk
@@ -12,4 +13,11 @@ update-repo gtk $dist
# Install systemd service
setup-systemd-monitor gtk $dist
# Set theme
gsettings set org.gnome.desktop.interface gtk-theme \'adw-gtk3-dark\'
if pacman -Q papirus-icon-theme &> /dev/null
read -l -p "Set icon theme to Papirus-Dark? [Y/n] ' -n" confirm
test "$confirm" = 'n' -o "$confirm" = 'N' || gsettings set org.gnome.desktop.interface icon-theme \'Papirus-Dark\'
end
log 'Done.'