diff options
Diffstat (limited to 'awesome/widgets/button.lua')
-rw-r--r-- | awesome/widgets/button.lua | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/awesome/widgets/button.lua b/awesome/widgets/button.lua deleted file mode 100644 index cd1da1e..0000000 --- a/awesome/widgets/button.lua +++ /dev/null @@ -1,33 +0,0 @@ -local awful = require("awful") -local beautiful = require("beautiful") -local menubar = require("menubar") - -local hotkeys_popup = require("awful.hotkeys_popup") --- Enable hotkeys help widget for VIM and other apps --- when client with a matching name is opened: -require("awful.hotkeys_popup.keys") - --- Menu --- Create a launcher widget and a main menu -myawesomemenu = { - { "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end }, - { "restart", awesome.restart }, - { "quit", function() awesome.quit() end }, -} - -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 - -return mylauncher |