diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-03 15:39:59 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:57:21 (GMT) |
commit | bb550396f371d5354a5659c853bb4e6b46f8e913 (patch) | |
tree | 66b4c7e114616eef9a85fda101b2ca478a750c3c | |
parent | d2fb2a43cb73c5806d1dae2c3d7b7065a0e3628c (diff) | |
download | fluxbox_paul-bb550396f371d5354a5659c853bb4e6b46f8e913.zip fluxbox_paul-bb550396f371d5354a5659c853bb4e6b46f8e913.tar.bz2 |
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"; };
}
-rw-r--r-- | data/init.in | 12 | ||||
-rw-r--r-- | 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 @@ | |||
1 | ! If you're looking for settings to configure, they won't be saved here until | 1 | -- If you're looking for settings to configure, they won't be saved here until |
2 | ! you change something in the fluxbox configuration menu. | 2 | -- you change something in the fluxbox configuration menu. |
3 | 3 | ||
4 | session.menuFile: ~/.@pkgprefix@fluxbox@pkgsuffix@/menu | 4 | session.menuFile = '~/.@pkgprefix@fluxbox@pkgsuffix@/menu2' |
5 | session.keyFile: ~/.@pkgprefix@fluxbox@pkgsuffix@/keys | 5 | session.keyFile = '~/.@pkgprefix@fluxbox@pkgsuffix@/keys' |
6 | session.styleFile: @default_style@ | 6 | session.styleFile = '@default_style@' |
7 | session.configVersion: 13 | 7 | 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 @@ | |||
1 | [begin] | 1 | return { |
2 | [shade] | 2 | type = "menu"; |
3 | [stick] | 3 | |
4 | [maximize] | 4 | { type = "shade" }; |
5 | [iconify] | 5 | { type = "stick" }; |
6 | [raise] | 6 | { type = "maximize" }; |
7 | [lower] | 7 | { type = "iconify" }; |
8 | [settitledialog] | 8 | { type = "raise" }; |
9 | [sendto] | 9 | { type = "lower" }; |
10 | [layer] | 10 | { type = "settitledialog" }; |
11 | [alpha] | 11 | { type = "sendto" }; |
12 | [extramenus] | 12 | { type = "layer" }; |
13 | [separator] | 13 | { type = "alpha" }; |
14 | [close] | 14 | { type = "extramenus" }; |
15 | [end] | 15 | { type = "separator" }; |
16 | { type = "close" }; | ||
17 | } | ||