From 5d37d70edf0b0856a3da5f8c5056e78a86bd6a1c Mon Sep 17 00:00:00 2001 From: rakonkido <99134546+rakonkido@users.noreply.github.com> Date: Sun, 21 Jan 2024 02:49:38 +0000 Subject: [PATCH 1/2] Grant access to Gamescope --- io.github.shiiion.primehack.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index 52f9b8f..d986fff 100644 --- a/io.github.shiiion.primehack.yml +++ b/io.github.shiiion.primehack.yml @@ -20,6 +20,10 @@ finish-args: - --allow=bluetooth - --filesystem=xdg-run/app/com.discordapp.Discord:create - --talk-name=org.freedesktop.ScreenSaver + # required for Gamescope on Steam Deck + - --env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/gamescope/bin + - --env=LD_LIBRARY_PATH=/usr/lib/extensions/vulkan/gamescope/lib + - --filesystem=xdg-run/gamescope-0:ro modules: # needed for the bluetooth passthrough feature to work - name: libusb From 702aa47b19cf39c4c47252573969b21e3116eb98 Mon Sep 17 00:00:00 2001 From: rakonkido <99134546+rakonkido@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:41:20 -0500 Subject: [PATCH 2/2] Remove unnecessary env variables --- io.github.shiiion.primehack.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index d986fff..47d700e 100644 --- a/io.github.shiiion.primehack.yml +++ b/io.github.shiiion.primehack.yml @@ -21,8 +21,6 @@ finish-args: - --filesystem=xdg-run/app/com.discordapp.Discord:create - --talk-name=org.freedesktop.ScreenSaver # required for Gamescope on Steam Deck - - --env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/gamescope/bin - - --env=LD_LIBRARY_PATH=/usr/lib/extensions/vulkan/gamescope/lib - --filesystem=xdg-run/gamescope-0:ro modules: # needed for the bluetooth passthrough feature to work