Add environment.d config for gamescope HDR
This commit is contained in:
parent
3fef48a3f6
commit
0a80504f41
1 changed files with 10 additions and 0 deletions
10
environment.d/gamescope-session.conf
Normal file
10
environment.d/gamescope-session.conf
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue