aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-22 06:26:01 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-22 06:26:01 +0000
commitc35b9ea674ba36d6b9eac2b66ebfe49533122931 (patch)
tree37328e29693a057a96fbb412848ff3c54ef900a2 /Scripts/.local
parent37ace760f5bed9a859314a5fc0153442cb85c040 (diff)
downloaddotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.tar.gz
dotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.tar.bz2
dotfiles-c35b9ea674ba36d6b9eac2b66ebfe49533122931.zip
(Scripts)~make music_update_bar sleep 1 -> 0.5s
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-xScripts/.local/scripts/status/music_update_bar3
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="";