11 lines
143 B
Plaintext
11 lines
143 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
SPOTPID="$(pgrep -x spotify)"
|
||
|
|
||
|
if [[ -z $SPOTPID ]]; then
|
||
|
spotify & > /dev/null
|
||
|
else
|
||
|
i3-msg workspace "100:spotify"
|
||
|
fi
|
||
|
|