dots/configs/home/.config/polybar/Scripts/gmr.sh
2023-10-27 19:56:44 +02:00

10 lines
117 B
Bash
Executable file

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