left, nested should be normal, but previously normal was only required if nested got borked somehow.IS_GAMEMODE logic to be more robust, tested and it worksujust
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*)leftnormal