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
|
@ -1,11 +1,13 @@
|
|||
-- {{{ Main
|
||||
|
||||
local awful = require("awful")
|
||||
theme = {}
|
||||
theme.wallpaper = "~/.wallpaper"
|
||||
|
||||
-- }}}
|
||||
-- {{{ Styles
|
||||
theme.fontface = "Dina"
|
||||
theme.fontsize = 8
|
||||
theme.fontface = "Menlo for Powerline"
|
||||
theme.fontsize = math.floor(awful.screen.focused().dpi / 8)
|
||||
theme.font = theme.fontface .. " " .. theme.fontsize
|
||||
|
||||
-- {{{ Colors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue