dotfiles/bin/cmusd.sh

8 lines
157 B
Bash
Executable File

#!/bin/sh
if [ "$(ps -e | grep cmus | wc -l)" -eq "0" ]; then
st -e cmus &
mpv --fs $HOME/Pictures/misc/loading.gif && xdotool key alt+shift+8
fi