summaryrefslogtreecommitdiff
path: root/install/gtk.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-24 11:27:10 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-24 11:27:10 +1100
commit781e762ff1dae21216d2bb3c1311e486e0f4f0c5 (patch)
tree5ff5b52a9bd9d9fb7847b05b490ae1aa79d9ba7f /install/gtk.fish
parentwallpaper: hide scheme update output (diff)
downloadcaelestia-cli-781e762ff1dae21216d2bb3c1311e486e0f4f0c5.tar.gz
caelestia-cli-781e762ff1dae21216d2bb3c1311e486e0f4f0c5.tar.bz2
caelestia-cli-781e762ff1dae21216d2bb3c1311e486e0f4f0c5.zip
install: gtk set theme
Diffstat (limited to 'install/gtk.fish')
-rwxr-xr-xinstall/gtk.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/gtk.fish b/install/gtk.fish
index c3cca61..b0a2ec6 100755
--- a/install/gtk.fish
+++ b/install/gtk.fish
@@ -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.'