blob: 6925d2409c5d311f2a0c5362370b5846381a0987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/fish
. (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
# Update/Clone repo
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 && 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
log 'Done.'
|