diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 06:26:01 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-03-22 06:26:01 +0000 |
commit | c35b9ea674ba36d6b9eac2b66ebfe49533122931 (patch) | |
tree | 37328e29693a057a96fbb412848ff3c54ef900a2 /Scripts/.local/scripts/status/music_update_bar | |
parent | 37ace760f5bed9a859314a5fc0153442cb85c040 (diff) | |
download | dotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.tar.gz dotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.tar.bz2 dotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.zip |
(Scripts)~make music_update_bar sleep 1 -> 0.5s
Diffstat (limited to 'Scripts/.local/scripts/status/music_update_bar')
-rwxr-xr-x | Scripts/.local/scripts/status/music_update_bar | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/status/music_update_bar b/Scripts/.local/scripts/status/music_update_bar index 2bf6c54..47e3c5f 100755 --- a/Scripts/.local/scripts/status/music_update_bar +++ b/Scripts/.local/scripts/status/music_update_bar @@ -3,10 +3,11 @@ while : do prev="$(playerctl --player=spotify metadata title)" + item=$prev while [[ $item == $prev ]] do - sleep 1; item="$(playerctl --player=spotify metadata title)"; + sleep 0.5; done kill -48 $(pidof dwmblocks); item=""; |