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