Skip to content

Commit

Permalink
chore(wayland): Launch Steam with -pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Aug 31, 2023
1 parent 1103f26 commit 36e0050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system_files/usr/bin/bazzite-steam-runtime
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh

if [[ "$XDG_SESSION_TYPE" = "wayland" ]] && [[ -e /usr/lib/extest/libextest.so ]]; then
# https://github.com/Supreeeme/extest
Expand All @@ -7,7 +7,7 @@ if [[ "$XDG_SESSION_TYPE" = "wayland" ]] && [[ -e /usr/lib/extest/libextest.so ]
# It's been primarily developed for allowing the desktop functionality
# on the Steam Controller to work while Steam is open on Wayland.
# Also supports Steam Input as a whole.
env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam-runtime "$*"
env LD_PRELOAD=/usr/lib/extest/libextest.so /usr/bin/steam-runtime "$@ -pipewire"
else
/usr/bin/steam-runtime "$*"
/usr/bin/steam-runtime "$@"
fi

0 comments on commit 36e0050

Please sign in to comment.