Scale wibar and font based on dpi
This commit is contained in:
parent
d50fcd0a13
commit
d3ae7475fa
2 changed files with 6 additions and 4 deletions
|
@ -41,12 +41,12 @@ local function setup()
|
|||
leftwibar[s] = awful.wibar({
|
||||
position = "left",
|
||||
screen = s,
|
||||
width = 18
|
||||
width = math.floor(s.dpi / 5)
|
||||
})
|
||||
rightwibar[s] = awful.wibar({
|
||||
position = "right",
|
||||
screen = s,
|
||||
width = 18
|
||||
width = math.floor(s.dpi / 5)
|
||||
})
|
||||
|
||||
-- {{{ create containers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue