automate/020_themes.sh

27 lines
709 B
Bash
Executable File

#!/usr/bin/env bash
apt install -y mate-themes
apt install -y albatross-gtk-theme
apt install -y blackbird-gtk-theme
apt install -y gtk2-engines-murrine gtk2-engines-pixbuf
cd /var/tmp
git clone https://github.com/vinceliuice/stylish-gtk-theme
cd stylish-gtk-theme
./Install
dbus-launch --exit-with-session gsettings set org.gnome.desktop.interface gtk-theme "Stylish-Dark-Laptop"
dbus-launch --exit-with-session gsettings set org.gnome.desktop.wm.preferences theme "Stylish-Dark-Laptop"
## Dark for qt4/5
# qt4
sed -i '/[Qt]/a style=GTK+' ${DEST}/.config/Trolltech.conf
# qt5
sudo apt install -y qt5-style-plugins
sudo cat >> /etc/environment <<EOF
QT_QPA_PLATFORMTHEME=gtk2
QT_STYLE_OVERRIDE=gtk2
EOF