about summary refs log tree commit diff
path: root/awesome
diff options
context:
space:
mode:
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua14
1 files changed, 6 insertions, 8 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 806d753..4c9aa10 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -4,6 +4,8 @@ local awful = require"awful"
 require"awful.autofocus"
 -- Widget and layout library
 local wibox = require"wibox"
+-- Menu library
+local freedesktop = require"freedesktop"
 -- Theme handling library
 local beautiful = require"beautiful"
 -- Notification library
@@ -13,9 +15,6 @@ local hotkeys_popup = require"awful.hotkeys_popup".widget
 -- System data library
 local vicious = require"vicious"
 
--- Load Debian menu entries
-require"debian.menu"
-
 -- {{{ Error handling
 -- Check if awesome encountered an error during startup and fell back to
 -- another config (This code will only ever execute for the fallback config)
@@ -121,11 +120,10 @@ myawesomemenu = {
   {"quit", function() awesome.quit() end}
 }
 
-mymainmenu = awful.menu{items = {
-  {"awesome", myawesomemenu, beautiful.awesome_icon},
-  {"debian", debian.menu.Debian_menu.Debian},
-  {"open terminal", terminal}
-}}
+mymainmenu = freedesktop.menu.build{
+  before = {{"Awesome", myawesomemenu, beautiful.awesome_icon}},
+  after = {{"Open terminal", terminal}}
+}
 
 -- mylauncher = awful.widget.launcher{image = beautiful.awesome_icon,
 --                                    menu = mymainmenu}