#!/usr/bin/env dash if usbctl check; then TEXT="\uf023" TOOLTIP="PROTECTED" CLASS="protected" else TEXT="\uf3c1" TOOLTIP="UNPROTECTED" CLASS="unprotected" fi env echo "{\"text\": \"${TEXT}\", \"tooltip\": \"${TOOLTIP}\", \"class\": \"${CLASS}\"}"