scripts/i3spotify

11 lines
166 B
Plaintext
Raw Permalink Normal View History

2019-03-22 15:25:10 +00:00
#!/usr/bin/env bash
SPOTPID="$(pgrep -x spotify)"
if [[ -z $SPOTPID ]]; then
2019-07-08 21:38:28 +01:00
flatpak run com.spotify.Client & > /dev/null
2019-03-22 15:25:10 +00:00
else
i3-msg workspace "100:spotify"
fi