This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.config/polybar/scripts/compton.sh
2017-10-23 16:35:35 -07:00

12 lines
154 B
Bash
Executable File

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