@ -0,0 +1,10 @@
#!/usr/bin/env bash
SPOTPID="$(pgrep -x spotify)"
if [[ -z $SPOTPID ]]; then
spotify & > /dev/null
else
i3-msg workspace "100:spotify"
fi
The note is not visible to the blocked user.