Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
fix: steam not running via flatpak if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Jul 26, 2023
1 parent 262658d commit 6d79749
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion usr/bin/steam-session
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/sh
mutter --wayland &
sleep 5
/usr/bin/steam -gamepadui -tenfoot -fulldesktopres -pipewire-dmabuf

if [[ $(distrobox list | grep gamebox) || ! $(flatpak list --app --user --columns=application | grep com.valve) ]]; then
/usr/bin/steam -gamepadui -tenfoot -fulldesktopres -pipewire-dmabuf
else
flatpak run com.valvesoftware.Steam -gamepadui -tenfoot -fulldesktopres -pipewire-dmabuf
fi

0 comments on commit 6d79749

Please sign in to comment.