mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
feat: Allow MangoHUD config on all flatpaks automatically
This commit is contained in:
parent
f66ef7b7fa
commit
dd782c8113
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# SCRIPT VERSION
|
||||
VER=16
|
||||
VER=17
|
||||
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
||||
VER_RAN=$(cat $VER_FILE)
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
@ -60,6 +60,10 @@ flatpak override \
|
||||
--socket=session-bus \
|
||||
org.libreoffice.LibreOffice
|
||||
|
||||
# Allow MangoHUD config for Flatpaks
|
||||
flatpak override \
|
||||
--filesystem=xdg-config/Mangohud:ro
|
||||
|
||||
# Params needed for HW accelerated video on Nvidia (Ignoring hybrid systems)
|
||||
if [[ $IMAGE_FLAVOR =~ "nvidia" ]] && [ $(grep -o "\-display" <<< $(lshw -C display) | wc -l) -le 1 ] && grep -q "vendor: NVIDIA Corporation" <<< $(lshw -C display); then
|
||||
flatpak override \
|
||||
|
Loading…
Reference in New Issue
Block a user