From 0a80504f4141a676450832549c2e010be10a38a5 Mon Sep 17 00:00:00 2001 From: Aria Date: Wed, 30 Apr 2025 11:49:47 +1000 Subject: [PATCH] Add environment.d config for gamescope HDR --- environment.d/gamescope-session.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 environment.d/gamescope-session.conf diff --git a/environment.d/gamescope-session.conf b/environment.d/gamescope-session.conf new file mode 100644 index 0000000..4640fc0 --- /dev/null +++ b/environment.d/gamescope-session.conf @@ -0,0 +1,10 @@ +if [ "$XDG_SESSION_DESKTOP" = "gamescope" ] ; then + SCREEN_WIDTH=2560 + SCREEN_HEIGHT=1440 + SCREEN_HZ=360 + CONNECTOR=*,DP-1 + CLIENTCMD="steam -gamepadui -pipewire-dmabuf" + GAMESCOPECMD="/usr/bin/gamescope --hdr-enabled --hdr-itm-enable \ + --hide-cursor-delay 3000 --fade-out-duration 200 --xwayland-count 2 \ + -W $SCREEN_WIDTH -H $SCREEN_HEIGHT -r SCREEN_HZ -O $CONNECTOR" +fi