Commit graph

303 commits

Author SHA1 Message Date
Dana Jansens
7d27d9d398 kill the .in's for xml. we're not installing the xsd to the filesystem anymore anyways.
kill the openbox-kde and openbox-gnome, we're going to have to do it different.
put the full path to the openbox binary in the openbox-*-session files by using .in's
2007-05-10 03:12:44 +00:00
Dana Jansens
23d4eb5f4f kill the hideDisabled option 2007-05-09 03:42:41 +00:00
Dana Jansens
37e2be2a57 fix a crash after reconfigure, the desktop names were not being re-set. so now they aren't deleted since we don't want to change them over a reconfigure anyways. 2007-05-07 16:49:27 +00:00
Dana Jansens
82b2f0aa7a popups fixes. if the text for the popup is empty now, there wont be extra padding for it. desktop name fixes. 2007-05-07 06:33:43 +00:00
Dana Jansens
2e6b3870c5 make reference to there is no session manager 2007-05-07 03:02:03 +00:00
Dana Jansens
1357dacb7a it looks better GNOME/Openbox etc rather than vice versa.
also update the stand-alone session file
2007-05-07 03:01:23 +00:00
Dana Jansens
24c0d61847 add the 'engine="box"' to the theme format, and require it to be there so we can change that in the future 2007-05-07 02:38:13 +00:00
Dana Jansens
974391d345 switch to using a command line variable instead, for the restart binary, just remove it so its not given to the session manager and confuses things.
drop the reconfigure notify pid for now
2007-05-07 01:57:10 +00:00
Dana Jansens
740c8af41e add .desktops for running Openbox, KDE/Openbox and GNOME/Openbox
add more .desktops for gnome and update it
add scripts to run an KDE/Openbox and GNOME/Openbox session
also add scripts for openbox-gnome and openbox-kde which are placeholders and will be replaced by real programs.
also set the name on the wm_support_win to be how we were called (which is passed in the environment) rather than just "Openbox"
add an envionment variable for wanting to be notified (SIGUSR2) when openbox reconfigures. this would be used by openbox-shell to update the root window.. if i make such a thing.. i dunno.
2007-05-07 01:41:48 +00:00
Dana Jansens
7ffa091d5b change the perapp settings "head" option to "monitor" i think its easier to understand.
some cleanup for perapp settings.
make monitor and desktop be specified starting at 1, like elsewhere in the config file.
2007-05-06 22:57:49 +00:00
Dana Jansens
6cd5f7ea38 document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all. 2007-05-06 22:04:55 +00:00
Dana Jansens
c51373c201 fix some comments 2007-05-06 21:32:49 +00:00
Dana Jansens
3d54ac170c some friendlier? desktop names 2007-05-06 06:02:36 +00:00
Dana Jansens
526560b8a0 changes to the client menu, which entries are there, and reorganizing, and renaming.
let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries.
add the all desktops button picture to "All desktops" in the client menu
update the themes for the new element, and some changes to make things more readable-better contrast.

CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :(
yeah.. i think that is everything?
2007-05-05 22:26:59 +00:00
Dana Jansens
ac56fe1602 make animation default on again. :/ 2007-05-05 16:20:04 +00:00
Mikael Magnusson
492b66ea14 don't animate iconify/restore by default 2007-05-05 09:58:56 +00:00
Dana Jansens
08e42acaad animate iconify/reestore. yeah. 2007-05-05 05:58:35 +00:00
Dana Jansens
064e997145 add new Clearlooks themes. Make Clearlooks the default theme. 2007-05-02 03:42:34 +00:00
Dana Jansens
4e590eba23 add a separate font config for onscreendisplays
change menutitle in the rc to menuheader
fix up the xsd for fonts
2007-04-26 13:10:36 +00:00
Mikael Magnusson
853a5b6b04 i think xsd files are supposed to say xsd, not xs 2007-04-26 04:02:24 +00:00
Mikael Magnusson
c259b2e1c5 this is just wrong 2007-04-26 03:53:24 +00:00
Mikael Magnusson
53c08bab0a remove xs:sequence and one more update for chroot stuffs 2007-04-26 03:42:04 +00:00
Mikael Magnusson
74ce377ef5 update for chroot stuffs 2007-04-26 03:19:34 +00:00
Mikael Magnusson
a744deeee3 consistency for dock layer naming 2007-04-25 15:44:49 +00:00
Mikael Magnusson
05560c929b fix layer type to use above/below as in the code, not Top/Bottom 2007-04-25 14:02:44 +00:00
Dana Jansens
9fe12048a1 oops, bad idea 2007-04-25 03:24:11 +00:00
Dana Jansens
1bb1bb1088 focus and raise when you click on the frame itself, i.e. the border to the sides of the client window 2007-04-25 03:15:08 +00:00
Mikael Magnusson
0f43a68405 remove fourCorners from data/ as well 2007-04-24 18:43:52 +00:00
Dana Jansens
c97c6342c2 add a default action for cycling panels 2007-04-23 23:03:44 +00:00
Dana Jansens
fa72e99fbf add the panels option, which is for NextWindow/PreviousWindow and the directional focus actions 2007-04-23 23:01:41 +00:00
Dana Jansens
33e017838f set the default config tool for gnome to be obconf2 2007-04-23 22:38:37 +00:00
Dana Jansens
957963e272 1) get rid of menu titles
2) let separators have labels, when they have a label, then they will appear like a menu title used to

so if you want a menu title, you use a separator in the menu itself at the top

more style work may be needed
2007-04-22 00:36:54 +00:00
Dana Jansens
5fb30e4488 add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed 2007-03-28 03:32:46 +00:00
Dana Jansens
45087efbcd point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one. 2007-03-05 16:23:13 +00:00
Dana Jansens
ec304c9e43 scary commit..but here goes.
YOUR THEMES ARE NOW OFFICIALLY BROKEN.

Openbox has just moved it's theme format to an XML based one. The details of
this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd

ALSO! This is very good and important and stuff! In the tools directory you
will find THEMETOXML ! This tool takes a themerc on stdin, and spits out
the same theme in theme.xml format. So this is all you need to do to update
your themes.

PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply
builds and then lives out in its tools/themetoxml directory, and that's it. So
if you want to use it, that is where to find it.

In moving to the new XML format, a number of additions/changes to the theme
engine have been made. Themetoxml takes these into account and will set all
the new things appropriately to make your theme look the same as it always has.

New additions include..
* padding now has an horizontal and vertical component, instead of being one number
* menus can have different borders than windows (color and size)
* menu offset can now be negative. it's a little weird, but someone will want it no doubt
* fonts are no longer controled by the theme at all, however font shadowing is, and on that note..
* font shadows are now any color you want, not just black and white
* you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc.
* every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people.
* font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal
* if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below.
* shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow

This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see.

Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback.

Here's the font configuration example. Hopefully ObConf will let you set this real soon.

<theme>
...
  <font place="ActiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="InactiveWindow">
    <name>arial,sans</name>
    <size>7</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuTitle">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuItem">
    <name>arial,sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
</theme>
2007-03-05 15:44:17 +00:00
Dana Jansens
191a0bc075 i moved the font shadow stuff back into the theme, so move them out of the font configuration stuff 2007-03-04 18:49:16 +00:00
Dana Jansens
e5ad7721ff add the new font things to our example rc.xml and the xsd stylesheet 2007-03-04 17:18:40 +00:00
Mikael Magnusson
b18846db69 Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy #defines 2006-10-31 03:33:21 +00:00
Mikael Magnusson
1fbc70da58 disable middle menus by default 2006-09-06 10:50:33 +00:00
Mikael Magnusson
d84f1aac10 remove .cvsignore files 2006-08-31 13:49:36 +00:00
Mikael Magnusson
26dd616b1f change default theme in example rc file 2006-08-20 20:58:52 +00:00
Mikael Magnusson
71ba050bfa fix syntax error in default config 2006-08-19 18:51:25 +00:00
Mikael Magnusson
83a0303dd7 add option titleNumber in theme section to disable the little [x] that you get after identical window titles 2006-08-16 19:32:13 +00:00
Mikael Magnusson
56c548b203 make menus optionally vertically centered, and enable by default, see bug #2746 2006-08-02 17:25:32 +00:00
Mikael Magnusson
8cb6e95eb6 add moverelative and resizerelative 2006-08-02 16:36:40 +00:00
Mikael Magnusson
6212b7c19b update rc.xml.in, also thanks to jonas k��lker 2006-08-01 19:47:09 +00:00
Mikael Magnusson
dd33cfe70b update rc.xsd, many thanks to jonas k��lker 2006-08-01 19:43:01 +00:00
Mikael Magnusson
ed61a94ca5 per app settings 2006-06-08 10:18:31 +00:00
Mikael Magnusson
e1665d70b5 add showDelay to dock 2005-09-25 14:45:24 +00:00
Mikael Magnusson
6236d2bcc2 add movetocenter here 2005-09-06 06:34:19 +00:00
Mikael Magnusson
1cfb65bc40 add a config option hideDisabled in the theme section that hides disabled buttons instead of showing them as disabled, based on patch in bug #2310 2005-07-14 13:44:33 +00:00
Mikael Magnusson
498ae4cc20 add noStrut option to dock and fix up rc.xsd, some options were in the wrong section due to hideDelay being in both dock and menu 2005-03-25 20:17:45 +00:00
Mikael Magnusson
916e24d9c4 Add a FocusToBottom action which moves the client to the bottom of the focus order stack 2005-03-11 21:49:54 +00:00
Mikael Magnusson
558ea325dd *** empty log message *** 2005-02-12 01:59:55 +00:00
Mikael Magnusson
ff39f02c38 add an option to resize with 4 corners as it was long ago and make the default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows 2004-11-04 12:13:25 +00:00
Mikael Magnusson
10805a4764 config option for icons in desktop menus 2004-10-31 10:10:33 +00:00
Mikael Magnusson
c02f68499f option to make dragging and findedge ignore windows on lower layers 2004-09-04 19:45:38 +00:00
Mikael Magnusson
aa88bc9918 togglefullscreen action from Joaquin Aguirrezabalaga 2004-08-17 21:33:55 +00:00
Mikael Magnusson
16f4b6a346 something like this maybe 2004-04-22 12:44:20 +00:00
Mikael Magnusson
dd7c6ad734 add back the focusLast option for the "i lost count"th time 2004-02-24 20:26:08 +00:00
Dana Jansens
5b2ac0a66c remove the debian menu file 2003-10-27 20:43:41 +00:00
Dana Jansens
9c02177301 dont wrap in the default keyboard desktop switching bindings 2003-10-12 20:47:05 +00:00
Dana Jansens
80c9f16876 reverse the directions for the default mouse wheel bindings 2003-10-12 20:38:31 +00:00
Dana Jansens
c361784b78 remove restart from the menu 2003-09-29 07:41:24 +00:00
Dana Jansens
ff04a81e62 add option for under-mouse placement 2003-09-28 09:06:40 +00:00
Dana Jansens
fa962c1604 removing focusLast again.. 2003-09-28 08:45:43 +00:00
Dana Jansens
396be581c3 add the dialog option for actions 2003-09-27 18:01:25 +00:00
Dana Jansens
0919413fca remove the dialog option section 2003-09-27 17:59:24 +00:00
Dana Jansens
4e8eff328c add <dialog><focus/><desktop/> to allow disabling popups 2003-09-26 08:22:49 +00:00
Dana Jansens
b192784070 add <dock><moveButton> which can change which button combo is used to move dock apps around in the dock. The new default is A-Left instead of Middle, since soem dock apps use middle, assuming they can! 2003-09-26 07:59:06 +00:00
Dana Jansens
a5fa1fee98 show the client menu on press instead of click on the window's icon in the titlebar. remove the double click binding which cant be hit when youre poppin a menu on press/click 2003-09-26 06:07:05 +00:00
Dana Jansens
5d3f1763fa updates and fixes for the xml/xsd shit 2003-09-26 05:30:01 +00:00
Dana Jansens
7d8b272f8f remove old gnome1 shit 2003-09-25 21:59:37 +00:00
Dana Jansens
3a595d037d make the gnome-control-center launch obconf for configuring openbox 2003-09-25 14:38:34 +00:00
Dana Jansens
cc19a55f0e add raise to the desktop left press binding 2003-09-24 05:08:27 +00:00
Dana Jansens
907d9d4ce5 same thing 2003-09-22 18:09:48 +00:00
Dana Jansens
65ebb4a826 udpate comment to match new basedir shit 2003-09-22 18:09:23 +00:00
Dana Jansens
4949c52de0 update hideTimeout to hideDelay 2003-09-22 18:08:51 +00:00
Dana Jansens
ff398ce922 update to the new hideDelay option 2003-09-22 18:07:30 +00:00
Dana Jansens
af3ae51f82 fix capitalization 2003-09-22 06:46:22 +00:00
Dana Jansens
88ae91f677 add focusLast and raiseOnFocus 2003-09-22 06:38:15 +00:00
Dana Jansens
9d0864ce63 add focusLast and raiseOnFocus 2003-09-22 06:05:47 +00:00
Dana Jansens
2033f09441 add the generated xml files 2003-09-19 20:02:33 +00:00
Dana Jansens
86fa7c0966 add the schemas to the distribution 2003-09-19 19:17:26 +00:00
Dana Jansens
88b8398342 add the MoveResize context, which is used while doing a move/resize on a window. Actions bound in this context can be executed with the mouse during a move/resize on a window. 2003-09-17 06:44:04 +00:00
Dana Jansens
bf9c87db48 default to "TheBear" 2003-09-16 04:52:00 +00:00
Dana Jansens
92a6b897a0 remove focusLast and focusLastOnDesktop 2003-09-15 07:47:05 +00:00
Dana Jansens
af9fea15dd add the .png version of the icon.h 2003-09-14 18:52:48 +00:00
Dana Jansens
58e7af84b9 oops missed a capitalization 2003-09-08 16:55:43 +00:00
Dana Jansens
ece103b5f4 add obconf to the menu 2003-09-08 09:09:02 +00:00
Dana Jansens
46e0be4ed7 capitalize mouse actions 2003-09-08 01:33:13 +00:00
Dana Jansens
78282959f9 little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case)
remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
2003-09-07 19:03:20 +00:00
Dana Jansens
3682b4ec40 turn off focusDelay by default 2003-09-04 02:36:05 +00:00
Dana Jansens
fa706aa75c add reconfigure to the menu 2003-09-03 20:26:23 +00:00
Dana Jansens
e2b79a0b59 add default A-space binding for the client menu 2003-09-03 09:36:32 +00:00
Dana Jansens
418095b48e add the focusDelay option 2003-09-03 08:12:07 +00:00
Dana Jansens
7f114f3ab7 add focus the desktop on left click binding 2003-09-03 07:40:39 +00:00
Dana Jansens
eb603bf118 rename the theme name node from 'theme' to 'name' 2003-09-03 07:17:20 +00:00
Dana Jansens
a89c5d69a4 fix capitalization and empty tags. cleanup. 2003-09-03 07:15:25 +00:00
Dana Jansens
0bc8246976 remove obsolete placement/remember option 2003-09-03 06:34:12 +00:00
Dana Jansens
5a44164be9 make the default screen-edge resistance 20 (double what it is for windows) 2003-09-03 05:44:28 +00:00
Dana Jansens
67f9061a7a move the default menu to menu.xml 2003-09-02 17:46:37 +00:00
Dana Jansens
cf40ff8791 move rc3 to rc.xml 2003-09-01 17:01:21 +00:00
Dana Jansens
12e1a6c8bd make thebear the default theme 2003-09-01 16:49:07 +00:00
Dana Jansens
556a4f358f remove the urgent options 2003-09-01 05:56:17 +00:00
Dana Jansens
93547b5794 add flashing urgent windows 2003-09-01 02:58:40 +00:00
Dana Jansens
ba64eb20db the <interactive> tags are no longer needed 2003-08-31 18:53:41 +00:00
Dana Jansens
2c6c0757fa make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
2003-08-30 16:58:30 +00:00
Dana Jansens
952ca24571 put debian menu file first 2003-08-30 06:08:10 +00:00
Dana Jansens
a9567a8163 move the client and client-list menus into the 'kernel' 2003-08-29 07:56:49 +00:00
Dana Jansens
ec9dd7fdd7 new method for loading menu files etc 2003-08-28 17:32:49 +00:00
Dana Jansens
2c263fc823 load the plugins in the rc3 for the menus 2003-08-28 07:55:01 +00:00
Dana Jansens
f7eb47dba4 make client-list-menu work too
more menu cleanups
2003-08-28 07:34:03 +00:00
Dana Jansens
ffba11aeb0 load menu plugins automatically from whats in the menu file
menu fixups
move enabled into the 'normal menu item' specific data stuff
2003-08-28 06:32:27 +00:00
Dana Jansens
615cbd9607 change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
6f37c38b1c split the menus out so they aren't nested in the example 2003-08-28 02:16:29 +00:00
Dana Jansens
a098c2437e rename the 'root' context to 'desktop' 2003-08-20 23:13:40 +00:00
Dana Jansens
a276868265 rename root to root-menu 2003-08-14 06:03:00 +00:00
Dana Jansens
fec178a210 add the client-list-menu 2003-08-14 06:02:43 +00:00
Dana Jansens
1045079482 adjust for changes to the parsing api.
split the menu into its own file.
2003-08-12 19:18:21 +00:00
Dana Jansens
fdc52e879f add the chainQuitKey option to teh <keyboard> section of the rc3 2003-08-12 18:05:40 +00:00
Dana Jansens
5fe1eb45c7 add the cyclingDialog option 2003-08-12 10:04:32 +00:00
Dana Jansens
ee26742a23 remove the scrolling on root without alt since that fucks up with the dialog since there are no modifiers 2003-08-12 10:04:09 +00:00
Dana Jansens
e74fd76330 remove the <windows> option from the resistance plugin since window and edge resistance have been separated, a 0 value will work now 2003-08-06 04:10:34 +00:00
Dana Jansens
26827d875a kill non-opaque move/resize
add an option for redrawing/resizing the client window while resizing, when disabled the client is not touched until the resize is complete.
2003-08-03 17:47:10 +00:00
Dana Jansens
960a7f0184 invisible resizing areas/grips in the top corners of the window 2003-08-02 06:20:31 +00:00
Dana Jansens
3a26c8aa8e move the dekstop file to data/ 2003-08-01 15:00:22 +00:00
Dana Jansens
54ad34a039 move the titlebar layout from the theme to the rc file 2003-07-30 16:25:08 +00:00
Dana Jansens
5d58b4fff0 split resistance strengths for screen edges and windows. also a fix for parsing changes, 2003-07-26 06:50:21 +00:00
Dana Jansens
2abbf01125 update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah! 2003-07-10 04:31:05 +00:00
Dana Jansens
2f9efb384d prepare for alpha1 release.
make 'make dist' work.
2003-06-29 08:47:24 +00:00
Dana Jansens
90b220dba9 remove the switch to... menu 2003-06-28 17:44:17 +00:00
Dana Jansens
d0abbec2e5 root menu on right click 2003-06-27 00:09:39 +00:00
Dana Jansens
5410a9d149 add right click on icon to open the client menu 2003-06-25 23:22:28 +00:00
Dana Jansens
32c51bb443 show the client meun on "press" on the icon 2003-06-25 18:42:05 +00:00
Dana Jansens
17a85c1cbd add a root menu 2003-06-22 08:25:30 +00:00
Dana Jansens
a865fe603f remove that fancy new leftHanded option, it should be done via xmodmap instead 2003-06-04 22:48:38 +00:00
Dana Jansens
ae0d84721d add a leftHanded option for mouse bindings, reverses the left/right keywords 2003-06-04 22:46:17 +00:00
Dana Jansens
6ddb059783 raise on client clicks 2003-05-29 04:33:06 +00:00
Dana Jansens
10e2807d06 Shade not Shaded 2003-05-25 02:29:00 +00:00
Dana Jansens
d2857b1194 ECKS EM ELL 2003-05-24 15:35:26 +00:00
Scott Moynes
71d2605e1c Client menus
Add "client_menu" to pluginrc to use.
2003-05-21 23:58:40 +00:00
Dana Jansens
2efed807b3 discourage floating a bit, capitalize better. 2003-05-16 20:07:49 +00:00
Dana Jansens
b77e40e1c7 rename "Slit" to "Dock".
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
2003-05-16 18:10:10 +00:00
Dana Jansens
9938de3693 add opaque move/resize to the rc3 2003-05-11 23:57:56 +00:00
Dana Jansens
f26f23de50 all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Dana Jansens
100fdf7225 focus on press onm the titlebar buttons 2003-04-21 19:21:28 +00:00
Dana Jansens
1617489f20 make alt-middle the default resize binding 2003-04-17 02:16:38 +00:00
Dana Jansens
8955a2b70f show the root menu on right click 2003-04-16 18:09:38 +00:00
Dana Jansens
84b9c90bea update the theme stuff 2003-04-15 16:09:56 +00:00