summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-03 14:51:21 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-03 14:51:21 +1100
commit9155a09c79e0f45d752fc5864f35c05f7fe03a98 (patch)
treee1772ad97a4f4e0c5c491c5b089cdb4a204cdaea /install
parentemojis: fix font awesome glyphs (diff)
downloadcaelestia-cli-9155a09c79e0f45d752fc5864f35c05f7fe03a98.tar.gz
caelestia-cli-9155a09c79e0f45d752fc5864f35c05f7fe03a98.tar.bz2
caelestia-cli-9155a09c79e0f45d752fc5864f35c05f7fe03a98.zip
install: gtk no prompt if already using papirus
Don't prompt if already using papirus icon theme
Diffstat (limited to 'install')
-rwxr-xr-xinstall/gtk.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/gtk.fish b/install/gtk.fish
index b4e8f0a..6925d24 100755
--- a/install/gtk.fish
+++ b/install/gtk.fish
@@ -15,8 +15,8 @@ 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 "input 'Set icon theme to Papirus-Dark? [Y/n] ' -n" confirm
+if pacman -Q papirus-icon-theme &> /dev/null && test "$(gsettings get org.gnome.desktop.interface icon-theme | cut -d - -f 1 | string sub -s 2)" != Papirus
+ read -l -p "input 'Set icon theme to Papirus? [Y/n] ' -n" confirm
test "$confirm" = 'n' -o "$confirm" = 'N' || gsettings set org.gnome.desktop.interface icon-theme \'Papirus-Dark\'
end