dots/configs/home/.config/polybar/Scripts/gmr.sh

10 lines
117 B
Bash
Raw Permalink Normal View History

2023-10-27 19:56:44 +02:00
#!/usr/bin/sh
current=$(gamemoded -s)
if [ "$current" = "gamemode is inactive" ]; then
echo "0"
else
echo "1"
fi