Skip to content

Commit

Permalink
fix(deck): Improve bazzite-rotation-fix (Thanks Aru!)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 20, 2024
1 parent 7c4d2ac commit 898a70e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion system_files/deck/kinoite/usr/libexec/bazzite-rotation-fix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
# Author: d3Xt3r

SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
IS_GAMEMODE="$(cat /proc/*/comm | grep gamescope-ses*)"

STEAM_PID=$(cat $HOME/.steam/steam.pid)
STEAM_CMDLINE_PATH=/proc/$STEAM_PID/cmdline
STEAM_CMDLINE=$(cat $STEAM_CMDLINE_PATH)

IS_GAMEMODE=$(echo $STEAM_CMDLINE | grep gamepadui*)


sleep 1
echo $(date '+%Y-%m-%d %H:%M:%S') Starting Bazzite Desktop Orientation Fix script...| tee -a /tmp/bazrotfix.log
Expand Down

0 comments on commit 898a70e

Please sign in to comment.