feat: eww hypr alacritty and more

This commit is contained in:
Fabio Lenherr 2022-08-31 00:28:44 +02:00
parent 7fb4f9ee73
commit 99f7c60db7
No known key found for this signature in database
GPG key ID: 868FFD689D878939
431 changed files with 9853 additions and 23 deletions

26
eww/scripts/wifi Executable file
View file

@ -0,0 +1,26 @@
#!/bin/sh
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