Commit graph

74 commits

Author SHA1 Message Date
Dana Jansens
d9739288b7 add a gdm-control tool that lets you..control..gdm.. 2008-03-02 03:46:28 -05:00
Dana Jansens
be6fd760f1 using () for a class that doesn't inherit breaks old python 2008-02-11 09:40:24 -05:00
Dana Jansens
64398a2b5f grammar hammer 2008-02-10 02:06:46 -05:00
Dana Jansens
b2e52c7b48 make xdg-autostart check for PyXDG and print a better error than a backtrace. and make the executing actually work 2008-02-09 19:02:08 -05:00
Dana Jansens
11408575b3 make an xdg-autostart script. it is very fancy. 2008-02-09 19:02:03 -05:00
Mikael Magnusson
fdc10b75d6 missed a spot 2007-06-07 23:50:40 +00:00
Mikael Magnusson
96bb892054 back xml themes out of trunk 2007-06-07 23:46:28 +00:00
Dana Jansens
ad22b4db81 border, not borderwidth.
add osd.border stuff to themetoxml
2007-06-05 16:05:22 +00:00
Dana Jansens
8349e4ca6b add osd border stuff 2007-06-05 15:57:27 +00:00
Dana Jansens
aca8327244 add osd theme elements 2007-06-05 15:51:36 +00:00
Dana Jansens
1fd07ad51d there add new separator colors complete 2007-06-02 21:26:23 +00:00
Dana Jansens
e451993b49 add new separator colors 2007-06-02 21:24:52 +00:00
Dana Jansens
1091e38908 rename activedisabled in xml to active-disabled 2007-06-02 18:58:10 +00:00
Dana Jansens
9cc523aa71 rename old xrbd activedisabled to active.disabled 2007-06-02 18:51:45 +00:00
Dana Jansens
92e54e48ee 2007-05-28 04:52:47 +00:00
Dana Jansens
2ff10b4260 relocate the xsd's so they don't clash, and point to the right places 2007-05-12 18:18:25 +00:00
Dana Jansens
db9190fb34 this is nothing but to add a commit message..
added support for

menu.border.width

!
2007-05-11 22:49:48 +00:00
Dana Jansens
4845f271d9 add support for these...
menu.border.color
window.active.border.color
window.inactive.border.color

Bear2 has a menu color now, the old themerc had that specified
2007-05-11 22:47:09 +00:00
Dana Jansens
b63ad92cca give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too. 2007-05-11 22:18:43 +00:00
Dana Jansens
73348c28de misparsing of rgb:4/5/6 colors 2007-05-07 10:40:54 +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
2f5727ffe9 add support for the menu.items.activedisabled.text.color theme element 2007-05-05 22:52:15 +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
Mikael Magnusson
e785e18a2c you didn't say no 2007-03-30 16:37:17 +00:00
Dana Jansens
bd27269850 more updates for toggled states. also updating the theme files. 2007-03-28 03:51:27 +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
82be671c64 scale the shadows up, they were /100 before, now they are /255 2007-03-05 16:32:50 +00:00
Dana Jansens
b31189b91a was looking for menu items font in the wrong place 2007-03-05 16:27:02 +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
e6fba91476 kde systray applications no longer need the tray proxy, so let's remove it from svn 2007-03-05 03:33:00 +00:00
Dana Jansens
5697404dd6 add the themetoxml tool ! yay 2007-03-05 03:30:22 +00:00
Dana Jansens
6608dddef4 add comment explaining what this tool is for. new themeupdate tool is coming for xml themes. 2007-03-04 22:22:27 +00:00
Mikael Magnusson
2b99b62abf maybe this works then 2007-02-20 13:13:27 +00:00
Mikael Magnusson
144cc4ff70 this should do it 2007-02-20 12:30:47 +00:00
Mikael Magnusson
d84f1aac10 remove .cvsignore files 2006-08-31 13:49:36 +00:00
Mikael Magnusson
335e8acbfc yay no tabs in the source 2004-03-21 01:03:00 +00:00
Dana Jansens
2cb368cb1b fix warnings 2003-10-11 08:05:56 +00:00
Dana Jansens
d826a88728 rename gnomepanelproxy to gnome-panel-control 2003-09-18 07:47:58 +00:00
Dana Jansens
4f6908feed add gnomepanelproxy 2003-09-18 07:43:33 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
7d20f6f4d3 warn about the right shit 2003-09-08 18:58:57 +00:00
Dana Jansens
a72371b41f bigtime theme changes. bigtime. 2003-09-08 18:38:52 +00:00
Dana Jansens
237cc7278b obconf is moving into its own tree 2003-09-07 23:43:45 +00:00
Dana Jansens
45520c3244 some stuff is exact 2003-09-01 16:34:00 +00:00
Dana Jansens
957def11cb remove menu.bullet from themes 2003-09-01 16:32:32 +00:00
Dana Jansens
959126d9a2 show errors on stderr 2003-09-01 16:30:29 +00:00
Dana Jansens
13430ce547 nicer usage output 2003-09-01 16:29:54 +00:00
Dana Jansens
b90b0beaf9 global valid 2003-09-01 09:17:19 +00:00