Polybar: Add light mode

This commit is contained in:
Salt 2020-09-23 01:53:01 -05:00
parent 51dc911e7a
commit ba7b70a8b7

View File

@ -36,6 +36,12 @@ step_configure() {
elif pgrep -U "$UID" i3 > /dev/null 2>&1; then elif pgrep -U "$UID" i3 > /dev/null 2>&1; then
export PB_WM_RESTACK="i3" export PB_WM_RESTACK="i3"
fi fi
# Light theme
if [ "$THEME" == "light" ]; then
export PB_COLOR_BG="#eff0f1"
export PB_COLOR_FG="#232629"
export PB_COLOR_BORDER="#bdc3c7"
fi
} }
step_spawn_primary() { step_spawn_primary() {
# Spawn bars on the primary monitor # Spawn bars on the primary monitor