chore(firefox-config): Store in /usr and copy to /var in bazzite-flatpak-manager, cleanup

This commit is contained in:
Kyle Gospodnetich 2024-01-01 23:00:03 -08:00
parent d97fd2b0e2
commit d97b450d62
9 changed files with 13 additions and 2521 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
[properties]
ro.hardware.gralloc=minigbm_gbm_mesa
persist.waydroid.udev=true
persist.waydroid.uevent=true
ro.sf.lcd_density=215

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
# SCRIPT VERSION
VER=10
VER=11
VER_FILE="/etc/bazzite/flatpak_manager_version"
VER_RAN=$(cat $VER_FILE)
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
@ -69,6 +69,11 @@ else
org.mozilla.firefox
fi
# Set up Firefox default configuration
mkdir -p /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref
rm -f /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/*bazzite*.js
/usr/bin/cp -rf /usr/share/ublue-os/firefox-config/* /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/
# Install flatpaks in list
if [[ -f $INSTALL_LIST_FILE ]]; then
if [[ -n $FLATPAK_LIST ]]; then

View File

@ -0,0 +1,3 @@
// Bazzite Global
pref("gfx.webrender.all", true);
pref("media.ffmpeg.vaapi.enabled", true);

View File

@ -1,3 +0,0 @@
// Bazzite Global
pref("gfx.webrender.all", 1);
pref("media.ffmpeg.vaapi.enabled", 1);

View File

@ -0,0 +1,2 @@
// Bazzite GNOME
pref("widget.gtk.rounded-bottom-corners.enabled", true);

View File

@ -1,2 +0,0 @@
// Bazzite GNOME
pref("widget.gtk.rounded-bottom-corners.enabled", 1);

View File

@ -0,0 +1,2 @@
// Bazzite NVIDIA
pref("widget.dmabuf.force-enabled", true);