aboutsummaryrefslogtreecommitdiff
path: root/config.dot/awesome.link/menu.lua
blob: 2fa3c60a9f6d045cb122da5a3f8100e3f4f41593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
   { "quit", awesome.quit },
   { "restart", awesome.restart },
   { "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" }
}

mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
                                    { "debian", debian.menu.Debian_menu.Debian },
                                    { "terminal", terminal }
                                  }
                        })

mylauncher = awful.widget.launcher({ image = image(beautiful.awesome_icon),
                                     menu = mymainmenu })
-- }}}