summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorMarcus <bubu@bubu1.eu>2022-09-20 18:44:53 +0200
committerGitHub <noreply@github.com>2022-09-20 18:44:53 +0200
commit56d2a0d39d637c10598679c285f1a83439a8de68 (patch)
tree3c0a5055dcbfabc0dbc4ec3c5856e807d673d6e8 /README.md
parentMerge pull request #1189 from Bubu/patch-1 (diff)
downloadnheko-56d2a0d39d637c10598679c285f1a83439a8de68.tar.xz
Readme: fix steam deck instructions
Turns out that setting the desktop env isn't enough we also need to 
manually ensure kwalletd is started. As we can't tell steam to run 
multiple commands, people will need a small wrapper script that 
does this.
Diffstat (limited to '')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 08507731..33cf70a7 100644
--- a/README.md
+++ b/README.md
@@ -146,9 +146,11 @@ guix install nheko
 
 #### Steam Deck
 
-Install nheko via the `Discover` app in Desktop Mode (this installs the flatpak). To also make it work in Game Mode you'll have to add it as a "Non-Steam Game" to steam and than add the following `--env` variables to the `flatpak run` command. This is necessary for nheko to connect to KWallet correctly. The resulting arguments field in the steam settings should look something like this.
-```
-run --env=XDG_CURRENT_DESKTOP=KDE --env=KDE_SESSION_VERSION=5 --branch=stable --arch=x86_64 --command=io.github.NhekoReborn.Nheko --file-forwarding io.github.NhekoReborn.Nheko @@u @@
+Install nheko via the `Discover` app in Desktop Mode (this installs the flatpak). To also make it work in Game Mode you'll have create a wrapper script that starts kwalletd and then nheko. You can create `/home/deck/nheko.sh` with the following content and then add this script as a "Non-Steam Game" to Steam.
+```bash
+#!/bin/sh
+kwalletd5&
+flatpak run --env=XDG_CURRENT_DESKTOP=KDE --env=KDE_SESSION_VERSION=5 --branch=stable --arch=x86_64 --command=io.github.NhekoReborn.Nheko --file-forwarding io.github.NhekoReborn.Nheko @@u @@
 ```
 
 #### macOS (10.14 and above)