Update scripts. Added Pulse volume level

This commit is contained in:
Linux User
2022-08-18 21:21:42 +00:00
parent 219ddac852
commit 2547920d81
9 changed files with 21 additions and 0 deletions

14
.local/scripts/0040_wifi Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
COLOR1="#009CFF"
COLOR2="#005083"
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
if [[ ! $name ]]
then
echo "^b$COLOR1^^c$COLOR2^  ^c$COLOR1^^b$COLOR2^  ^d^"
else
echo "^b$COLOR1^^c$COLOR2^  ^c$COLOR1^^b$COLOR2^ $name $power ^d^"
fi