changes
This commit is contained in:
parent
ca9e86b9f9
commit
8ff7616fa2
1 changed files with 17 additions and 0 deletions
17
setup.sh
17
setup.sh
|
@ -97,6 +97,23 @@ do
|
||||||
;;
|
;;
|
||||||
gnome)
|
gnome)
|
||||||
sudo flatpak install org.mozilla.firefox com.github.GradienceTeam.Gradience || error
|
sudo flatpak install org.mozilla.firefox com.github.GradienceTeam.Gradience || error
|
||||||
|
message "linking ~/.mozilla to flatpak env"
|
||||||
|
mkdir -p $HOME/.mozilla
|
||||||
|
mkdir -p $HOME/.var/app/org.mozilla.firefox/
|
||||||
|
ln -s $HOME/.mozilla HOME/.var/app/org.mozilla.firefox/.mozilla
|
||||||
|
message "placing font fix for firefox flatpak"
|
||||||
|
mkdir -p $HOME/.var/app/org.mozilla.firefox/config/fontconfig/
|
||||||
|
echo "<?xml version='1.0'?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||||
|
<fontconfig>
|
||||||
|
<!-- Disable bitmap fonts. -->
|
||||||
|
<selectfont><rejectfont><pattern>
|
||||||
|
<patelt name="scalable"><bool>false</bool></patelt>
|
||||||
|
</pattern></rejectfont></selectfont>
|
||||||
|
</fontconfig>" > $HOME/.var/app/org.mozilla.firefox/config/fontconfig/fonts.conf
|
||||||
|
message "setting gtk legacy default to dark"
|
||||||
|
echo "[Settings]
|
||||||
|
gtk-application-prefer-dark-theme=1" | tee ~/.config/gtk-3.0/settings.ini > ~/.config/gtk-4.0/settings.ini
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue