lcpz / awesome-freedesktop

Freedesktop.org menu and desktop icons support for Awesome WM
GNU General Public License v2.0
129 stars 25 forks source link

new menu.build arg: menu_width #26

Closed SirHadrian closed 1 year ago

SirHadrian commented 1 year ago

Allows you to change the default awful.menu width, useful when menu entries are too long and get cut out.

Code example in rc.lua:

awful.util.mymainmenu = freedesktop.menu.build {
    before = {{"Awesome", myawesomemenu, beautiful.awesome_icon} -- other triads can be put here
    },
    after = {{"Open terminal", terminal} -- other triads can be put here
    },
    width = 250 -- default 200
}
lcpz commented 1 year ago

Please see beautiful.menu_width.