diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-03 15:39:59 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-03 15:39:59 (GMT) |
commit | 702570b3e7959533024616a0e0b4623679af06af (patch) | |
tree | 878e05e7e23322e0c12e455b0a2526b587680666 | |
parent | aad4bcdeaa92e0e3ec857c38dc3846e216728f5b (diff) | |
download | fluxbox_pavel-702570b3e7959533024616a0e0b4623679af06af.zip fluxbox_pavel-702570b3e7959533024616a0e0b4623679af06af.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 | } | ||