bazzite/spec_files/galileo-mura/valve.patch

12 lines
363 B
Diff
Raw Normal View History

--- a/galileo-mura-setup
+++ b/galileo-mura-setup
@@ -16,7 +16,7 @@
deck_serial=${deck_serial^^}
manufacturer=$(sed -n 's/.*Manufacturer: \(.*\)/\1/p' < /tmp/mura/info.txt)
-mura_base_path=/home/deck/.config/gamescope/mura
+mura_base_path="${XDG_CONFIG_HOME:-$HOME/.config}/gamescope/mura"
mkdir -p "$mura_base_path"
if [ "$manufacturer" != "SDC" ]; then