feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-30 11:40:09 +00:00
parent 974932c5a9
commit 1f3c2b9947
No known key found for this signature in database
GPG key ID: 868FFD689D878939
38 changed files with 3368 additions and 0 deletions

26
eww/bar/scripts/wifi Executable file
View file

@ -0,0 +1,26 @@
#!/bin/bash
status=$(nmcli g | grep -oE "disconnected")
essid=$(nmcli c | grep wlp2s0 | awk '{print ($1)}')
if [ $status ] ; then
icon=""
text=""
col="#575268"
else
icon=""
text="${essid}"
col="#a1bdce"
fi
if [[ "$1" == "--COL" ]]; then
echo $col
elif [[ "$1" == "--ESSID" ]]; then
echo $text
elif [[ "$1" == "--ICON" ]]; then
echo $icon
fi