Update: Added cava and fonts, updated configs, delted useless rofi configs.

This commit is contained in:
Keyitdev
2022-06-22 19:25:59 +02:00
parent b7c3fa05d1
commit 9ffd98738b
40 changed files with 253 additions and 118 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
#!/bin/bash
DIR="/usr/local/bin/icons"
DIR_ICONS="/usr/local/bin/icons"
CUR_VOL=$(pactl list sinks | grep '^[[:space:]]Volume:' | \
head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')
@@ -13,19 +13,19 @@ if [ $CUR_VOL -le $VOL_QUIET ]; then
"Volume" \
"Current volume is $CUR_VOL%" \
-r 100 \
-i $DIR/volume.svg
-i $DIR_ICONS/volume.svg
fi
if [ $CUR_VOL -gt $VOL_QUIET ] && [ $CUR_VOL -le $VOL_LOUD ]; then
dunstify -a "Volume" \
"Volume" \
"Current volume is $CUR_VOL%" \
-r 100 \
-i $DIR/volume-1.svg
-i $DIR_ICONS/volume-1.svg
fi
if [ $CUR_VOL -gt $VOL_LOUD ]; then
dunstify -a "Volume" \
"Volume" \
"Current volume is $CUR_VOL%" \
-r 100 \
-i $DIR/volume-2.svg
-i $DIR_ICONS/volume-2.svg
fi