forked from Ddorda/awesome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.lua
More file actions
23 lines (20 loc) · 799 Bytes
/
Copy pathmenu.lua
File metadata and controls
23 lines (20 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- {{{ Menu
-- Create a laucher widget and a main menu
editor_cmd = config.programs.terminal .. " -e " .. config.programs.editor
myawesomemenu = {
{ "manual", config.programs.terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "restart", awesome.restart },
{ "quit", awesome.quit }
}
mymainmenu = awful.menu({ items = {
{ "awesome", myawesomemenu, beautiful.awesome_icon },
{ "Debian", debian.menu.Debian_menu.Debian },
{ "open terminal", config.programs.terminal }
}
})
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = config.programs.terminal -- Set the terminal for applications that require it
-- }}}