diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
commit | e169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch) | |
tree | ae9e92c7e885791c7f47645184070cbcd441ab94 /data | |
parent | c82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff) | |
parent | 91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff) | |
download | fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2 |
Merge branch 'master' into to_push
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 29 | ||||
-rw-r--r-- | data/apps.in | 4 | ||||
-rw-r--r-- | data/init.in | 5 | ||||
-rw-r--r-- | data/keys | 27 | ||||
-rw-r--r-- | data/overlay | 2 | ||||
-rw-r--r-- | data/windowmenu | 14 |
6 files changed, 66 insertions, 15 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 80fed6a..e921afa 100644 --- a/data/Makefile.am +++ b/data/Makefile.am | |||
@@ -6,24 +6,36 @@ PROGRAM_SUFFIX=@program_suffix@ | |||
6 | DEFAULT_MENU = @DEFAULT_MENU@ | 6 | DEFAULT_MENU = @DEFAULT_MENU@ |
7 | DEFAULT_STYLE = @DEFAULT_STYLE@ | 7 | DEFAULT_STYLE = @DEFAULT_STYLE@ |
8 | DEFAULT_KEYS = @DEFAULT_KEYS@ | 8 | DEFAULT_KEYS = @DEFAULT_KEYS@ |
9 | DEFAULT_APPS = @DEFAULT_APPS@ | ||
10 | DEFAULT_OVERLAY = @DEFAULT_OVERLAY@ | ||
9 | DEFAULT_INIT = @DEFAULT_INIT@ | 11 | DEFAULT_INIT = @DEFAULT_INIT@ |
12 | DEFAULT_WINDOWMENU = @DEFAULT_WINDOWMENU@ | ||
10 | 13 | ||
11 | SUBDIRS= styles | 14 | SUBDIRS= styles |
12 | CLEANFILES= menu menu.in menu.pre menu.bak init | 15 | CLEANFILES= menu menu.in menu.pre menu.bak init apps |
13 | MAINTAINERCLEANFILES= Makefile.in | 16 | MAINTAINERCLEANFILES= Makefile.in |
14 | pkgdata_DATA= keys menu init | 17 | pkgdata_DATA= keys menu init apps overlay |
15 | EXTRA_DIST= keys init.in | 18 | EXTRA_DIST= keys init.in apps.in overlay |
16 | all-local: menu init | 19 | all-local: menu init apps |
17 | install-pkgdataDATA: | 20 | install-pkgdataDATA: |
18 | @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)" | 21 | @echo "Installing menu file in $(DESTDIR)$(DEFAULT_MENU)" |
19 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU)) | 22 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_MENU)) |
20 | $(INSTALL_DATA) menu $(DESTDIR)$(DEFAULT_MENU) | 23 | $(INSTALL_DATA) $(srcdir)/menu $(DESTDIR)$(DEFAULT_MENU) |
21 | @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)" | 24 | @echo "Installing keys file in $(DESTDIR)$(DEFAULT_KEYS)" |
22 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS)) | 25 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_KEYS)) |
23 | $(INSTALL_DATA) $(srcdir)/keys $(DESTDIR)$(DEFAULT_KEYS) | 26 | $(INSTALL_DATA) $(srcdir)/keys $(DESTDIR)$(DEFAULT_KEYS) |
27 | @echo "Installing apps file in $(DESTDIR)$(DEFAULT_APPS)" | ||
28 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_APPS)) | ||
29 | $(INSTALL_DATA) $(srcdir)/apps $(DESTDIR)$(DEFAULT_APPS) | ||
30 | @echo "Installing overlay file in $(DESTDIR)$(DEFAULT_OVERLAY)" | ||
31 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_OVERLAY)) | ||
32 | $(INSTALL_DATA) $(srcdir)/overlay $(DESTDIR)$(DEFAULT_OVERLAY) | ||
24 | @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)" | 33 | @echo "Installing init file in $(DESTDIR)$(DEFAULT_INIT)" |
25 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT)) | 34 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_INIT)) |
26 | $(INSTALL_DATA) init $(DESTDIR)$(DEFAULT_INIT) | 35 | $(INSTALL_DATA) $(srcdir)/init $(DESTDIR)$(DEFAULT_INIT) |
36 | @echo "Installing windowmenu file in $(DESTDIR)$(DEFAULT_WINDOWMENU)" | ||
37 | $(mkinstalldirs) $(DESTDIR)$(dir $(DEFAULT_WINDOWMENU)) | ||
38 | $(INSTALL_DATA) $(srcdir)/windowmenu $(DESTDIR)$(DEFAULT_WINDOWMENU) | ||
27 | 39 | ||
28 | distclean-local: | 40 | distclean-local: |
29 | rm -f *\~ | 41 | rm -f *\~ |
@@ -33,6 +45,11 @@ init: init.in | |||
33 | -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \ | 45 | -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \ |
34 | -e "s,@default_style@,$(DEFAULT_STYLE),g" $(srcdir)/init.in > init | 46 | -e "s,@default_style@,$(DEFAULT_STYLE),g" $(srcdir)/init.in > init |
35 | 47 | ||
48 | apps: apps.in | ||
49 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \ | ||
50 | -e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \ | ||
51 | -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" $(srcdir)/apps.in > apps | ||
52 | |||
36 | menu: ../util/fluxbox-generate_menu | 53 | menu: ../util/fluxbox-generate_menu |
37 | env MENUFILENAME=menu \ | 54 | env MENUFILENAME=menu \ |
38 | PREFIX="${prefix}" \ | 55 | PREFIX="${prefix}" \ |
diff --git a/data/apps.in b/data/apps.in new file mode 100644 index 0000000..48db0ac --- /dev/null +++ b/data/apps.in | |||
@@ -0,0 +1,4 @@ | |||
1 | [app] (name=@pkgprefix@fbrun@pkgsuffix@) | ||
2 | [Position] (WINCENTER) {0 0} | ||
3 | [Layer] {2} | ||
4 | [end] | ||
diff --git a/data/init.in b/data/init.in index 86cfa08..ef83d41 100644 --- a/data/init.in +++ b/data/init.in | |||
@@ -1,5 +1,4 @@ | |||
1 | session.screen0.slit.placement: BottomRight | 1 | session.screen0.slit.placement: RightBottom |
2 | session.screen0.slit.direction: Vertical | ||
3 | session.screen0.slit.onTop: False | 2 | session.screen0.slit.onTop: False |
4 | session.screen0.slit.autoHide: False | 3 | session.screen0.slit.autoHide: False |
5 | session.screen0.tab.placement: Top | 4 | session.screen0.tab.placement: Top |
@@ -30,4 +29,4 @@ session.colorsPerChannel: 4 | |||
30 | session.doubleClickInterval: 250 | 29 | session.doubleClickInterval: 250 |
31 | session.cacheMax: 200 | 30 | session.cacheMax: 200 |
32 | session.imageDither: True | 31 | session.imageDither: True |
33 | session.configVersion: 7 | 32 | session.configVersion: 9 |
@@ -4,16 +4,16 @@ OnDesktop Mouse2 :WorkspaceMenu | |||
4 | OnDesktop Mouse3 :RootMenu | 4 | OnDesktop Mouse3 :RootMenu |
5 | 5 | ||
6 | # scroll on the desktop to change workspaces | 6 | # scroll on the desktop to change workspaces |
7 | OnDesktop Mouse4 :NextWorkspace | 7 | OnDesktop Mouse4 :PrevWorkspace |
8 | OnDesktop Mouse5 :PrevWorkspace | 8 | OnDesktop Mouse5 :NextWorkspace |
9 | 9 | ||
10 | # scroll on the toolbar to change workspaces | 10 | # scroll on the toolbar to change workspaces |
11 | OnToolbar Mouse4 :NextWorkspace | 11 | OnToolbar Mouse4 :PrevWorkspace |
12 | OnToolbar Mouse5 :PrevWorkspace | 12 | OnToolbar Mouse5 :NextWorkspace |
13 | 13 | ||
14 | # alt + left/right click to move/resize a window | 14 | # alt + left/right click to move/resize a window |
15 | OnWindow Mod1 Mouse1 :StartMoving | 15 | OnWindow Mod1 Mouse1 :StartMoving |
16 | OnWindow Mod1 Mouse3 :StartResizing | 16 | OnWindow Mod1 Mouse3 :StartResizing NearestCorner |
17 | 17 | ||
18 | # middle click a window's titlebar and drag to attach windows | 18 | # middle click a window's titlebar and drag to attach windows |
19 | OnTitlebar Mouse2 :StartTabbing | 19 | OnTitlebar Mouse2 :StartTabbing |
@@ -43,11 +43,26 @@ Mod4 7 :Tab 7 | |||
43 | Mod4 8 :Tab 8 | 43 | Mod4 8 :Tab 8 |
44 | Mod4 9 :Tab 9 | 44 | Mod4 9 :Tab 9 |
45 | 45 | ||
46 | # open a terminal | ||
47 | Mod1 F1 :Exec xterm | ||
48 | |||
46 | # open a dialog to run programs | 49 | # open a dialog to run programs |
47 | Mod1 F2 :Exec fbrun | 50 | Mod1 F2 :Exec fbrun |
48 | 51 | ||
49 | # close the current window | 52 | # volume settings, using common keycodes |
53 | # if these don't work, use xev to find out your real keycodes | ||
54 | 176 :Exec amixer sset Master,0 1+ | ||
55 | 174 :Exec amixer sset Master,0 1- | ||
56 | 160 :Exec amixer sset Master,0 toggle | ||
57 | |||
58 | # current window commands | ||
50 | Mod1 F4 :Close | 59 | Mod1 F4 :Close |
60 | Mod1 F9 :Minimize | ||
61 | Mod1 F10 :Maximize | ||
62 | Mod1 F11 :Fullscreen | ||
63 | |||
64 | # open the window menu | ||
65 | Mod1 space :WindowMenu | ||
51 | 66 | ||
52 | # exit fluxbox | 67 | # exit fluxbox |
53 | Control Mod1 Delete :Exit | 68 | Control Mod1 Delete :Exit |
diff --git a/data/overlay b/data/overlay new file mode 100644 index 0000000..bb4e91c --- /dev/null +++ b/data/overlay | |||
@@ -0,0 +1,2 @@ | |||
1 | ! The following line will prevent styles from setting the background. | ||
2 | ! background: none | ||
diff --git a/data/windowmenu b/data/windowmenu new file mode 100644 index 0000000..9e52651 --- /dev/null +++ b/data/windowmenu | |||
@@ -0,0 +1,14 @@ | |||
1 | [begin] | ||
2 | [shade] | ||
3 | [stick] | ||
4 | [maximize] | ||
5 | [iconify] | ||
6 | [raise] | ||
7 | [lower] | ||
8 | [sendto] | ||
9 | [layer] | ||
10 | [alpha] | ||
11 | [extramenus] | ||
12 | [separator] | ||
13 | [close] | ||
14 | [end] | ||