awesome icon indicating copy to clipboard operation
awesome copied to clipboard

Can't change the font of the keyboard layout widget

Open kacejot opened this issue 5 years ago • 4 comments

Output of awesome --version:

awesome 4.3-1

How to reproduce the issue:

Create awful.widget.keyboardlayout instance. There is no way to change its fonts using its own methods.

Expected result:

We can change font without applying such workarounds:

function keyboardlayout_with_font(font)
    local theme = require("beautiful").get()
    local old_font, theme.font = theme.font, font
    local result = awful.widget.keyboardlayout()
    theme.font = old_font
    return result
end

kacejot avatar Aug 08 '19 10:08 kacejot