1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
-- {{{ Menu
-- Create a launcher widget and a main menu
menubar = require("menubar")
hotkeys_popup = require("awful.hotkeys_popup").widget
myawesomemenu = {
{ "quit", function() awesome.quit() end},
{ "restart", awesome.restart },
{ "hotkeys", function() return false, hotkeys_popup.show_help end},
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile }
}
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "debian", debian.menu.Debian_menu.Debian },
{ "terminal", terminal }
}
})
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}}
|