my-config/awesome/ui/wibar/module/launcher.lua

11 lines
279 B
Lua
Raw Permalink Normal View History

2024-08-20 13:20:26 +00:00
local awful = require('awful')
local beautiful = require('beautiful')
-- Create a launcher widget. Opens the Awesome menu when clicked.
return function()
return awful.widget.launcher({
image = beautiful.awesome_icon,
menu = require('ui.menu').main
})
end