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
Former-commit-id: 5fd43849e1
Former-commit-id: 7eae8d492d9cabe6851880a601043561029c53fd
Former-commit-id: 13bd19e5272d8adab17c555e07c796be5a4d2d52
Former-commit-id: 7b835d0485788ca8cce0bc4f3e38e2c7de42182f
This commit is contained in:
parent
167baae6df
commit
bac330bb68
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