2024-02-19 19:41:33 -08:00
|
|
|
local awful = require("awful")
|
|
|
|
local wibox = require("wibox")
|
|
|
|
local gears = require("gears")
|
|
|
|
local beautiful = require("beautiful")
|
|
|
|
local helpers = require("helpers")
|
2024-02-18 14:31:14 -08:00
|
|
|
|
2024-02-18 20:26:15 -08:00
|
|
|
-- Menu
|
2024-02-19 19:41:33 -08:00
|
|
|
local menu = wibox.widget({
|
2024-02-18 14:31:14 -08:00
|
|
|
{
|
2024-02-19 19:41:33 -08:00
|
|
|
font = beautiful.font_name .. "16",
|
|
|
|
markup = "",
|
|
|
|
widget = wibox.widget.textbox(),
|
2024-02-18 14:31:14 -08:00
|
|
|
},
|
|
|
|
bottom = 2,
|
|
|
|
widget = wibox.container.margin,
|
2024-02-19 19:41:33 -08:00
|
|
|
})
|
2024-02-18 14:31:14 -08:00
|
|
|
|
|
|
|
helpers.ui.add_hover_cursor(menu, "hand2")
|
|
|
|
|
2024-02-19 19:41:33 -08:00
|
|
|
menu:buttons(gears.table.join(awful.button({}, 1, function()
|
|
|
|
awesome.emit_signal("sidebar::toggle")
|
|
|
|
end)))
|
2024-02-18 14:31:14 -08:00
|
|
|
|
|
|
|
return menu
|