mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-03 06:44:21 +02:00
theme: don't hardcode Terminus outside theme.lua
This commit is contained in:
parent
714303e14c
commit
355f983fdb
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ local function client_info(c)
|
|||
beautiful.fg_widget_value, tostring(c[inf[i]]))
|
||||
end
|
||||
|
||||
naughty.notify{ text = string.format('<span font="Terminus ' .. 8 * theme.scale .. '">%s</span>', v:sub(1,#v-1)),
|
||||
naughty.notify{ text = string.format('<span font="' .. theme.font .. '">%s</span>', v:sub(1,#v-1)),
|
||||
timeout = 0, margin = 10, screen = c.screen }
|
||||
end
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ local cal = (
|
|||
calendar = naughty.notify(
|
||||
{
|
||||
text = string.format('<span font="%s">%s</span>',
|
||||
"Terminus " .. 8 * theme.scale,
|
||||
theme.font,
|
||||
cal:gsub(" +\n","\n")),
|
||||
timeout = 0, hover_timeout = 0.5,
|
||||
width = 160 * theme.scale,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue