X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/0f3c5be8e79d77ab166da0f238ab12c9f7b05765..3329c3e7fd0f5679c6014b59ac75fce93991fb2c:/awesome/rc.lua diff --git a/awesome/rc.lua b/awesome/rc.lua index 7448eb1..ead665c 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -66,26 +66,8 @@ if beautiful.wallpaper then end -- }}} --- {{{ Menu --- Create a laucher widget and a main menu -myawesomemenu = { - { "manual", 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 }, - { "open 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 --- }}} +--Menu +require("menu") -- {{{ Wibox -- Create a textclock widget @@ -122,6 +104,7 @@ mytasklist.buttons = awful.util.table.join( c:raise() end end), + awful.button({ }, 2, function (c) c:kill() end), awful.button({ }, 3, function () if instance then instance:hide()