no patchy no bitchy

This commit is contained in:
Ward Nakchbandi 2023-03-03 19:28:59 +03:00
parent b8dd1a5e5e
commit 9c09ad34a7
8 changed files with 10 additions and 96 deletions

View File

@ -1,24 +0,0 @@
From 55e7d0c200f21d6d0d4b858b8ca8a42a2558426d Mon Sep 17 00:00:00 2001
From: GloriousEggroll <gloriouseggroll@gmail.com>
Date: Wed, 11 Jan 2023 10:13:04 -0700
Subject: [PATCH] change wayland session name to something distro-agnostic
---
usr/share/wayland-sessions/zwayland-gamescope-session.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/share/wayland-sessions/zwayland-gamescope-session.desktop b/usr/share/wayland-sessions/zwayland-gamescope-session.desktop
index a6c1746..ee48bfa 100644
--- a/usr/share/wayland-sessions/zwayland-gamescope-session.desktop
+++ b/usr/share/wayland-sessions/zwayland-gamescope-session.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
-Name=ChimeraOS (gamescope)
+Name=Steam Deck Mode
Comment=Steam Big Picture session
Exec=zwayland-gamescope-session
Type=Application
--
2.39.0

View File

@ -1,54 +0,0 @@
From 9611d3d68b659a1328836f77fc209eb6db534320 Mon Sep 17 00:00:00 2001
From: GloriousEggroll <gloriouseggroll@gmail.com>
Date: Wed, 11 Jan 2023 10:08:19 -0700
Subject: [PATCH] update to work on nobara with hdr
---
usr/share/gamescope-session/gamescope-session-script | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/usr/share/gamescope-session/gamescope-session-script b/usr/share/gamescope-session/gamescope-session-script
index fddf7a2..bdba432 100755
--- a/usr/share/gamescope-session/gamescope-session-script
+++ b/usr/share/gamescope-session/gamescope-session-script
@@ -1,4 +1,7 @@
-#!/bin/bash
+#!/usr/bin/bash
+
+export ENABLE_GAMESCOPE_WSI=1
+export DXVK_HDR=1
# Some environment variables by default (taken from Deck session)
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
@@ -154,7 +157,7 @@ fi
# Define session if not overriden
if [ -z "$STEAMCMD" ] ; then
- STEAMCMD="steam -gamepadui -steamos3 -steampal -steamdeck"
+ STEAMCMD="steam -gamepadui -newbigpicture -steamdeck -steamos3"
fi
if [ -z "$GAMESCOPECMD" ] ; then
@@ -164,6 +167,7 @@ if [ -z "$GAMESCOPECMD" ] ; then
fi
GAMESCOPECMD="/usr/bin/gamescope \
$CURSOR \
+ --hdr-enabled \
-e \
$RESOLUTION \
--xwayland-count 2 \
--
2.39.0
diff --git a/usr/share/gamescope-session/gamescope-session-script b/usr/share/gamescope-session/gamescope-session-script
index bdba432..68ff633 100755
--- a/usr/share/gamescope-session/gamescope-session-script
+++ b/usr/share/gamescope-session/gamescope-session-script
@@ -168,6 +168,7 @@ if [ -z "$GAMESCOPECMD" ] ; then
GAMESCOPECMD="/usr/bin/gamescope \
$CURSOR \
--hdr-enabled \
+ --hdr-itm-enable \
-e \
$RESOLUTION \
--xwayland-count 2 \

View File

@ -1,9 +0,0 @@
diff -ur a/usr/bin/steam-http-loader b/usr/bin/steam-http-loader
--- a/usr/bin/steam-http-loader 2023-01-03 13:25:18.155825373 -0800
+++ b/usr/bin/steam-http-loader 2023-01-03 13:29:58.125988565 -0800
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/bin/env python3
import urllib.parse
import os.path
import argparse

View File

@ -1,4 +0,0 @@
fedora.patch
0001-update-to-work-on-nobara-with-hdr.patch
0001-change-wayland-session-name-to-something-distro-agno.patch

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)

View File

@ -1,4 +1,4 @@
#!/bin/env python
#!/bin/env python3
import urllib.parse
import os.path
import argparse

View File

@ -1,4 +1,7 @@
#!/bin/bash
#!/usr/bin/bash
export ENABLE_GAMESCOPE_WSI=1
export DXVK_HDR=1
# Some environment variables by default (taken from Deck session)
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
@ -154,7 +157,7 @@ fi
# Define session if not overriden
if [ -z "$STEAMCMD" ] ; then
STEAMCMD="steam -gamepadui -steamos3 -steampal -steamdeck"
STEAMCMD="steam -gamepadui -newbigpicture -steamdeck -steamos3"
fi
if [ -z "$GAMESCOPECMD" ] ; then
@ -164,6 +167,8 @@ if [ -z "$GAMESCOPECMD" ] ; then
fi
GAMESCOPECMD="/usr/bin/gamescope \
$CURSOR \
--hdr-enabled \
--hdr-itm-enable \
-e \
$RESOLUTION \
--xwayland-count 2 \

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=ChimeraOS (gamescope)
Name=Steam Deck Mode
Comment=Steam Big Picture session
Exec=gamescope-session
Type=Application