mirror of https://github.com/E-Almqvist/dotfiles
parent
af44a04f7d
commit
5a769eb97e
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,12 @@ |
||||
#!/usr/bin/bash |
||||
|
||||
status=$(playerctl status &>/dev/stdout) |
||||
|
||||
if [[ "$status" == "No players found" ]] |
||||
then |
||||
echo "false" |
||||
else |
||||
echo "true" |
||||
fi |
||||
|
||||
|
Loading…
Reference in new issue