Polybar: Repad and add a 2px bg2 border
This commit is contained in:
parent
3bcab4925c
commit
ce7c188f40
@ -27,7 +27,7 @@ mod-xbacklight = ${self.primary}
|
|||||||
notif-package = ${self.foreground-dark}
|
notif-package = ${self.foreground-dark}
|
||||||
|
|
||||||
background = ${xrdb:background}
|
background = ${xrdb:background}
|
||||||
background-alt = ${xrdb:color8}
|
background-alt = ${xrdb:bg2}
|
||||||
foreground = ${xrdb:color15}
|
foreground = ${xrdb:color15}
|
||||||
foreground-dark = ${xrdb:color8}
|
foreground-dark = ${xrdb:color8}
|
||||||
|
|
||||||
@ -36,6 +36,7 @@ bar-empty = ${self.border}
|
|||||||
|
|
||||||
[res/config]
|
[res/config]
|
||||||
padding = 2
|
padding = 2
|
||||||
|
padding-bar = 3
|
||||||
|
|
||||||
[res/fonts]
|
[res/fonts]
|
||||||
font-0 = "Inconsolata:style=Regular:size=10;2"
|
font-0 = "Inconsolata:style=Regular:size=10;2"
|
||||||
@ -52,26 +53,29 @@ font-4 = "Material Design Icons:size=11;3"
|
|||||||
#====================
|
#====================
|
||||||
|
|
||||||
[template/bar]
|
[template/bar]
|
||||||
# Rendering of the bar
|
# General ordering
|
||||||
height = 26
|
|
||||||
bottom = true
|
bottom = true
|
||||||
wm-restack = ${env:PB_WM_RESTACK:bspwm}
|
wm-restack = ${env:PB_WM_RESTACK:bspwm}
|
||||||
|
offset-y = 2
|
||||||
# Module padding and spacing
|
|
||||||
module-margin = 2
|
|
||||||
padding = ${res/config.padding}
|
|
||||||
|
|
||||||
# Tray settings
|
# Tray settings
|
||||||
tray-maxsize = 16
|
tray-maxsize = 16
|
||||||
|
|
||||||
# Mild cosmetics
|
# Colors
|
||||||
background = ${res/colors.background}
|
background = ${res/colors.background}
|
||||||
foreground = ${res/colors.foreground}
|
foreground = ${res/colors.foreground}
|
||||||
border-color = ${res/colors.background}
|
border-color = ${res/colors.background-alt}
|
||||||
border-size = ${env:PB_BAR_BORDER_SIZE:6}
|
|
||||||
|
# Whitespace
|
||||||
|
height = 36
|
||||||
|
padding = ${res/config.padding-bar}
|
||||||
|
border-top-size = ${env:PB_BAR_BORDER_SIZE:2}
|
||||||
overline-size = 6
|
overline-size = 6
|
||||||
underline-size = 6
|
underline-size = 6
|
||||||
|
|
||||||
|
# Module whitespace
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
# Module fonts
|
# Module fonts
|
||||||
font-0 = ${res/fonts.font-0}
|
font-0 = ${res/fonts.font-0}
|
||||||
font-1 = ${res/fonts.font-1}
|
font-1 = ${res/fonts.font-1}
|
||||||
@ -94,6 +98,8 @@ monitor = ${env:PB_MONITOR:eDP-1}
|
|||||||
inherit = template/bar
|
inherit = template/bar
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
|
border-top-size = 0
|
||||||
|
border-bottom-size = ${env:PB_BAR_BORDER_SIZE:2}
|
||||||
|
|
||||||
modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT: }
|
modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT: }
|
||||||
modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER: }
|
modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER: }
|
||||||
@ -112,6 +118,8 @@ monitor = ${env:PB_MONITOR}
|
|||||||
inherit = template/bar
|
inherit = template/bar
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
|
border-top-size = 0
|
||||||
|
border-bottom-size = ${env:PB_BAR_BORDER_SIZE:2}
|
||||||
|
|
||||||
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT: }
|
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT: }
|
||||||
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER: }
|
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER: }
|
||||||
|
Loading…
Reference in New Issue
Block a user