From c1df0800a9ef9349e11c1acee80cdf29f04ee75d Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 14 Jan 2025 18:04:00 +0100 Subject: [PATCH 1/2] [sway] Typo --- .config/wofi/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/wofi/style.css b/.config/wofi/style.css index 7bb0ee1..0da90b2 100644 --- a/.config/wofi/style.css +++ b/.config/wofi/style.css @@ -25,7 +25,7 @@ margin: 5px; border: none; /* border around each individual item within the search results */ background-color: trans; /* background behind each individual item within the search results */ - color: ffffff; + color: #ffffff; } /* Remove the search icon */ From b39cde24de9bf3a91c4097685ad8fededade1aa0 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 14 Jan 2025 18:04:31 +0100 Subject: [PATCH 2/2] [sway] Corrige les icones de volume --- .config/sway/audio.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.config/sway/audio.sh b/.config/sway/audio.sh index 66c5d5d..374654c 100755 --- a/.config/sway/audio.sh +++ b/.config/sway/audio.sh @@ -17,14 +17,12 @@ if [ "$volume" -lt "10" ]; then fi -if [ "$volume" -gt "99" ]; then - echo " $volume%" -elif [ "$volume" -gt "65" ]; then - echo " $volume%" -elif [ "$volume" -gt "30" ]; then - echo " $volume%" -elif [ "$volume" -gt "10" ]; then - echo " $volume%" +if [ "$volume" -gt "84" ]; then + echo "🔊 $volume%" +elif [ "$volume" -gt "44" ]; then + echo "🔉 $volume%" +elif [ "$volume" -gt "0" ]; then + echo "🔈 $volume%" else - echo " $volume%" + echo "🔇" fi