From bb550396f371d5354a5659c853bb4e6b46f8e913 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 3 Jul 2011 17:39:59 +0200 Subject: Lua version of default init and windowmenu files since we do not have a default rootmenu file, I'll just attach a very minimal example here: return { type = "menu"; label = "Fluxbox default menu"; encoding = "UTF-8"; { type = "exec"; label = "xterm"; param = "xterm"; }; { type = "command"; label = "Reconfigure"; param = "reconfigure"; }; { type = "command"; label = "Restart"; param = "restart"; }; { type = "command"; label = "Exit"; param = "exit"; }; } --- data/init.in | 12 ++++++------ data/windowmenu | 32 +++++++++++++++++--------------- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/data/init.in b/data/init.in index 60c5a52..e98d3b0 100644 --- a/data/init.in +++ b/data/init.in @@ -1,7 +1,7 @@ -! If you're looking for settings to configure, they won't be saved here until -! you change something in the fluxbox configuration menu. +-- If you're looking for settings to configure, they won't be saved here until +-- you change something in the fluxbox configuration menu. -session.menuFile: ~/.@pkgprefix@fluxbox@pkgsuffix@/menu -session.keyFile: ~/.@pkgprefix@fluxbox@pkgsuffix@/keys -session.styleFile: @default_style@ -session.configVersion: 13 +session.menuFile = '~/.@pkgprefix@fluxbox@pkgsuffix@/menu2' +session.keyFile = '~/.@pkgprefix@fluxbox@pkgsuffix@/keys' +session.styleFile = '@default_style@' +session.configVersion = 14 diff --git a/data/windowmenu b/data/windowmenu index d867b64..fd779f6 100644 --- a/data/windowmenu +++ b/data/windowmenu @@ -1,15 +1,17 @@ -[begin] - [shade] - [stick] - [maximize] - [iconify] - [raise] - [lower] - [settitledialog] - [sendto] - [layer] - [alpha] - [extramenus] - [separator] - [close] -[end] +return { + type = "menu"; + + { type = "shade" }; + { type = "stick" }; + { type = "maximize" }; + { type = "iconify" }; + { type = "raise" }; + { type = "lower" }; + { type = "settitledialog" }; + { type = "sendto" }; + { type = "layer" }; + { type = "alpha" }; + { type = "extramenus" }; + { type = "separator" }; + { type = "close" }; +} -- cgit v0.11.2