„setup.sh“ ändern
This commit is contained in:
parent
20f2f6daf3
commit
c897314e98
1 changed files with 15 additions and 6 deletions
21
setup.sh
21
setup.sh
|
@ -168,12 +168,6 @@ do
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
message "setting gtk legacy default to dark"
|
|
||||||
mkdir -p $HOME/.config/gtk-{3,4}.0
|
|
||||||
cat << EOF | tee $HOME/.config/gtk-3.0/settings.ini > $HOME/.config/gtk-4.0/settings.ini
|
|
||||||
[Settings]
|
|
||||||
gtk-application-prefer-dark-theme=1
|
|
||||||
EOF
|
|
||||||
# fix big cursor issue in qt apps
|
# fix big cursor issue in qt apps
|
||||||
message "Set XCURSOR_SIZE=24 in /etc/environment to fix Big cursor bug in QT"
|
message "Set XCURSOR_SIZE=24 in /etc/environment to fix Big cursor bug in QT"
|
||||||
grep "XCURSOR_SIZE" /etc/environment || echo "XCURSOR_SIZE=24" | sudo tee -a /etc/environment > /dev/null
|
grep "XCURSOR_SIZE" /etc/environment || echo "XCURSOR_SIZE=24" | sudo tee -a /etc/environment > /dev/null
|
||||||
|
@ -226,6 +220,21 @@ EOF
|
||||||
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-dark'
|
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-dark'
|
||||||
gsettings set org.gnome.shell.extensions.user-theme name 'Yaru-dark'
|
gsettings set org.gnome.shell.extensions.user-theme name 'Yaru-dark'
|
||||||
|
|
||||||
|
# gtk-3.0 and gtk-4.0 settings
|
||||||
|
message "setting gtk-3.0 and gtk-4.0 default to dark"
|
||||||
|
mkdir -p $HOME/.config/gtk-{3,4}.0
|
||||||
|
cat << EOF | tee $HOME/.config/gtk-3.0/settings.ini > $HOME/.config/gtk-4.0/settings.ini
|
||||||
|
[Settings]
|
||||||
|
gtk-application-prefer-dark-theme=1
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# apply adwaita gtk-3.0 and gtk-4.0 orange theming
|
||||||
|
cat << EOF | tee $HOME/.config/gtk-3.0/gtk.css > $HOME/.config/gtk-4.0/gtk.css
|
||||||
|
@define-color accent_color #ffbe6f;
|
||||||
|
@define-color accent_bg_color #e66100;
|
||||||
|
@define-color accent_fg_color #ffffff;
|
||||||
|
EOF
|
||||||
|
|
||||||
# replace firefox-esr with flatpak in dock
|
# replace firefox-esr with flatpak in dock
|
||||||
message "replace firefox-esr with flatpak in dock"
|
message "replace firefox-esr with flatpak in dock"
|
||||||
gsettings get org.gnome.shell favorite-apps | grep "org.mozilla.firefox.desktop" > /dev/null ||
|
gsettings get org.gnome.shell favorite-apps | grep "org.mozilla.firefox.desktop" > /dev/null ||
|
||||||
|
|
Loading…
Reference in a new issue