12 lines
165 B
Bash
12 lines
165 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
#The icon that would change color
|
||
|
icon=" "
|
||
|
|
||
|
if pgrep -x "compton" > /dev/null
|
||
|
then
|
||
|
echo "%{F#EFF0F1}$icon"
|
||
|
else
|
||
|
echo "%{F#484852}$icon"
|
||
|
fi
|