Sync with latest

This commit is contained in:
Ayush Dumasia 2025-03-15 23:33:21 +05:30
parent d384f0c9fa
commit 6d26cd94fc
27 changed files with 4033 additions and 39 deletions

10
waybar/scripts/cava.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
is_cava_ServerExist=`ps -ef|grep -m 1 cava|grep -v "grep"|wc -l`
if [ "$is_cava_ServerExist" = "0" ]; then
echo "cava_server not found" > /dev/null 2>&1
# exit;
elif [ "$is_cava_ServerExist" = "1" ]; then
killall cava
fi
cava -p ~/.config/cava/config | sed -u 's/;//g;s/0/▁/g;s/1/▂/g;s/2/▃/g;s/3/▄/g;s/4/▅/g;s/5/▆/g;s/6/▇/g;s/7/█/g;'