Add playerctl script

This commit is contained in:
Santiago Lo Coco 2022-08-12 10:51:19 -03:00
parent b9ada190e4
commit 90ce2c91f1
1 changed files with 8 additions and 0 deletions

8
dotfiles/.local/bin/playerctl Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if ! pgrep playerctld &> /dev/null; then
playerctld &
sleep 0.5
fi
playerctl "$@"