added i3spotify script

This commit is contained in:
aj 2019-03-22 15:25:10 +00:00
parent 74deb59fc0
commit 9bc76cf685

10
i3spotify Executable file
View File

@ -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