From ba7b70a8b7957ad6516b15176440735710e17f3d Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 23 Sep 2020 01:53:01 -0500 Subject: [PATCH] Polybar: Add light mode --- .config/polybar/launch.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 82f8e18d..84c0e757 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -36,6 +36,12 @@ step_configure() { elif pgrep -U "$UID" i3 > /dev/null 2>&1; then export PB_WM_RESTACK="i3" 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() { # Spawn bars on the primary monitor