6 lines
No EOL
120 B
Bash
Executable file
6 lines
No EOL
120 B
Bash
Executable file
#!/bin/bash
|
|
|
|
status=$(playerctl status)
|
|
name=$(playerctl metadata title)
|
|
|
|
echo '{"status":"'$status'","name":"'$name'"}' |