speed~address to download git.aryadevchavali.com->aryadevchavali.com/resources status/datetime~date format to a decomposed format status/music_update_bar~pid to kill on dwmblocks
15 lines
251 B
Bash
Executable File
15 lines
251 B
Bash
Executable File
#!/bin/bash
|
|
|
|
while :
|
|
do
|
|
prev="$(playerctl --player=spotify metadata title)"
|
|
item=$prev
|
|
while [[ $item == $prev ]]
|
|
do
|
|
item="$(playerctl --player=spotify metadata title)";
|
|
sleep 0.5;
|
|
done
|
|
kill -37 $(pidof dwmblocks);
|
|
item="";
|
|
done
|