#!/bin/bash inhibit_active='false' if ps aux | grep eww-idle-inhibit | grep -qv grep;then inhibit_active='true' fi printf '%s' "${inhibit_active}"