I have a program called gamemode
, and to check if it's running, you can use gamemode -s
, which outputs either "gamemode is active" or "gamemode is inactive".
I want to change "gamemode is active" to "<an icon that doesn't show on this website>" and change "gamemode is inactive" to some other icon.