10 lines
117 B
Bash
10 lines
117 B
Bash
|
#!/usr/bin/sh
|
||
|
|
||
|
current=$(gamemoded -s)
|
||
|
|
||
|
if [ "$current" = "gamemode is inactive" ]; then
|
||
|
echo "0"
|
||
|
else
|
||
|
echo "1"
|
||
|
fi
|