add(theme) bar_bg
This commit is contained in:
parent
f2b0f9708f
commit
588c4f241c
|
@ -39,6 +39,7 @@ theme.padding = 4
|
|||
|
||||
theme.bar_height = 32 + (theme.margin * 2) -- This is the outer size of the bar
|
||||
theme.bar_width = "80%" -- Make the bar size relative to the screen
|
||||
theme.bar_bg = "#263238D9"
|
||||
theme.bar_margin_x = theme.margin * 2
|
||||
theme.bar_margin_y = theme.margin
|
||||
theme.bar_padding_x = theme.padding * 2
|
||||
|
|
|
@ -224,7 +224,7 @@ function bar.new(screen)
|
|||
left = dpi(beautiful.bar_padding_x, screen),
|
||||
widget = container_margin,
|
||||
},
|
||||
bg = "#263238D9",
|
||||
bg = beautiful.bar_bg,
|
||||
shape = function(cr, width, height)
|
||||
gshape.rounded_rect(cr, width, height, 10)
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue