diff --git a/common/config/polybar/.env.sh b/common/config/polybar/.env.sh index 8384c2e3..867ab3fc 100644 --- a/common/config/polybar/.env.sh +++ b/common/config/polybar/.env.sh @@ -19,7 +19,9 @@ export POLYBAR_MODULES_BACKLIGHT_CARD=intel_backlight export POLYBAR_TOP_RADIUS=12.0 -export POLYBAR_TOP_BACKGROUND= +export POLYBAR_BOTTOM_TRAY_POSITION=right + +export POLYBAR_TOP_BACKGROUND=#00000000 export POLYBAR_TOP_BACKGROUND_ALT= export POLYBAR_TOP_FOREGROUND= export POLYBAR_TOP_FOREGROUND_ALT= @@ -46,6 +48,8 @@ export POLYBAR_TOP_BORDER_LEFT_SIZE= export POLYBAR_BOTTOM_RADIUS=12.0 +export POLYBAR_BOTTOM_TRAY_POSITION=hidden + export POLYBAR_BOTTOM_BACKGROUND=#00000000 export POLYBAR_BOTTOM_BACKGROUND_ALT= export POLYBAR_BOTTOM_FOREGROUND= diff --git a/common/config/polybar/polybars/bottom.conf b/common/config/polybar/polybars/bottom.conf index ba4b28cc..9db4b48a 100644 --- a/common/config/polybar/polybars/bottom.conf +++ b/common/config/polybar/polybars/bottom.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_BOTTOM_LEFT:i3} modules-center = ${env:POLYBAR_BOTTOM_CENTER:} modules-right = ${env:POLYBAR_BOTTOM_RIGHT:keyboard} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_BOTTOM_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3 diff --git a/common/config/polybar/polybars/small-bottom.conf b/common/config/polybar/polybars/small-bottom.conf index 7f0d9e07..cd758808 100644 --- a/common/config/polybar/polybars/small-bottom.conf +++ b/common/config/polybar/polybars/small-bottom.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_BOTTOM_LEFT:i3} modules-center = ${env:POLYBAR_BOTTOM_CENTER:} modules-right = ${env:POLYBAR_BOTTOM_RIGHT:keyboard filesystem memory cpu temperature} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_BOTTOM_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3 diff --git a/common/config/polybar/polybars/small-top-only.conf b/common/config/polybar/polybars/small-top-only.conf index f6dc3e96..10df7939 100644 --- a/common/config/polybar/polybars/small-top-only.conf +++ b/common/config/polybar/polybars/small-top-only.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_TOP_LEFT:jgmenu menu window_switch pulseaudio backl modules-center = ${env:POLYBAR_TOP_CENTER:date-popup} modules-right = ${env:POLYBAR_TOP_RIGHT:pkg keyboard memory cpu temperature battery networkmanager-dmenu} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_TOP_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3 diff --git a/common/config/polybar/polybars/small-top.conf b/common/config/polybar/polybars/small-top.conf index 17bfe130..e4565d17 100644 --- a/common/config/polybar/polybars/small-top.conf +++ b/common/config/polybar/polybars/small-top.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_TOP_LEFT:jgmenu menu window_switch} modules-center = ${env:POLYBAR_TOP_CENTER:date-popup} modules-right = ${env:POLYBAR_TOP_RIGHT:pkg pulseaudio backlight-acpi networkmanager-dmenu} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_TOP_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3 diff --git a/common/config/polybar/polybars/top-only.conf b/common/config/polybar/polybars/top-only.conf index 913cf99a..9f431a44 100644 --- a/common/config/polybar/polybars/top-only.conf +++ b/common/config/polybar/polybars/top-only.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_TOP_LEFT:jgmenu menu window_switch pulseaudio backl modules-center = ${env:POLYBAR_TOP_CENTER:date-popup} modules-right = ${env:POLYBAR_TOP_RIGHT:pkg keyboard memory cpu temperature battery networkmanager-dmenu} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_TOP_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3 diff --git a/common/config/polybar/polybars/top.conf b/common/config/polybar/polybars/top.conf index eb6b798b..b845c04e 100644 --- a/common/config/polybar/polybars/top.conf +++ b/common/config/polybar/polybars/top.conf @@ -61,10 +61,9 @@ modules-left = ${env:POLYBAR_TOP_LEFT:jgmenu menu window_switch pulseaudio-bar b modules-center = ${env:POLYBAR_TOP_CENTER:date-popup} modules-right = ${env:POLYBAR_TOP_RIGHT:pkg filesystem memory cpu temperature networkmanager-dmenu} -tray-position = hidden -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +tray-position = ${env:POLYBAR_TOP_TRAY_POSITION:right} +tray-offset-x = -8 +tray-offset-y = -2 ;wm-restack = bspwm wm-restack = i3