#!/bin/bash

#if pidof steam; then
#    echo "Steam is running! Exit it first"
#    exit 201
#fi

kdialog --passivepopup "Do not forget to quit steam after you close the game :)" 30

kill -9 $(pidof steam) && __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia taskset -c 4 steam steam://rungameid/10150

