mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
fixed window title font not respecting beautiful.titlebar_font
This commit is contained in:
parent
6768632358
commit
5fd43849e1
2 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ theme.border_radius = dpi(6)
|
|||
theme.titlebars_enabled = true
|
||||
theme.titlebar_size = dpi(35)
|
||||
theme.titlebar_title_enabled = false
|
||||
theme.titlebar_font = theme.font -- BUG: Uses theme.font regardless
|
||||
theme.titlebar_font = theme.font
|
||||
-- Window title alignment: left, right, center
|
||||
theme.titlebar_title_align = "center"
|
||||
-- Titlebar position: top, bottom, left, right
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ client.connect_signal("request::titlebars", function(c)
|
|||
local title_widget
|
||||
if beautiful.titlebar_title_enabled then
|
||||
title_widget = awful.titlebar.widget.titlewidget(c)
|
||||
title_widget.font = beautiful.titlebar_font
|
||||
title_widget:set_align(beautiful.titlebar_title_align)
|
||||
else
|
||||
title_widget = wibox.widget.textbox("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue