Merge updates from recent build

This commit is contained in:
natemaia
2017-10-23 16:35:35 -07:00
parent f6fd221a54
commit fdb541b244
376 changed files with 29906 additions and 671 deletions

View File

@ -5,7 +5,7 @@ icon=" "
if pgrep -x "compton" > /dev/null
then
echo "%{F#EFF0F1}$icon"
echo "$icon"
else
echo "%{F#484852}$icon"
fi

View File

@ -33,6 +33,9 @@ echo "WM is $cur_wm... Launching appropriate bars"
if [[ $cur_wm == i3 ]]; then # if i3 launch the i3-bar
polybar -r --config=$CONF_PATH/config i3-bar &
elif [[ $cur_wm == bspwm ]]; then # if bspwm launch the bsp-bar
polybar -r --config=$CONF_PATH/config bsp-bar &
else # otherwise we assume openbox
polybar -r --config=$CONF_PATH/config openbox-bar &

View File

@ -4,10 +4,10 @@ online=$(ip addr | grep "state UP" | cut -d ":" -f2)
#connected=""
#offline=""
connected=""
offline=""
connected=""
offline=""
if [[ "$online" ]]; then
echo %{F#8FA1B3}${connected}
echo ${connected}
else
echo %{F#E7816B}${offline}; sleep 0.6; echo %{F#8FA1B3}${offline}
echo ${offline}; sleep 0.6; echo ${connected}
fi

View File

@ -26,7 +26,7 @@ fi
# OPTIONAL: Append ' ${temp}K' after $icon
if [[ -z $temp ]]; then
echo "%{F#8FA1B3} $icon " # Greyed out (not running)
echo " $icon " # Greyed out (not running)
elif [[ $temp -ge 5000 ]]; then
echo "%{F#6BA4E7} $icon " # Blue
elif [[ $temp -ge 4000 ]]; then