From 6a0b4786415ac7ce6922d1fa16c4001f2885fb0b Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sun, 7 Apr 2013 15:12:50 +0530 Subject: [PATCH] Various improvements to the Openbox theme --- openbox-3/bullet.xbm | 4 ---- openbox-3/desk.xbm | 8 ++++---- openbox-3/desk_toggled.xbm | 8 ++++---- openbox-3/max_toggled.xbm | 2 +- openbox-3/shade.xbm | 2 +- openbox-3/shade_toggled.xbm | 2 +- openbox-3/themerc | 26 ++++++++++++++------------ 7 files changed, 25 insertions(+), 27 deletions(-) delete mode 100644 openbox-3/bullet.xbm diff --git a/openbox-3/bullet.xbm b/openbox-3/bullet.xbm deleted file mode 100644 index 4e8300f..0000000 --- a/openbox-3/bullet.xbm +++ /dev/null @@ -1,4 +0,0 @@ -#define bullet_width 4 -#define bullet_height 8 -static unsigned char bullet_bits[] = { - 0x00, 0x00, 0x01, 0x03, 0x07, 0x03, 0x01, 0x00 }; diff --git a/openbox-3/desk.xbm b/openbox-3/desk.xbm index 015976b..abca780 100644 --- a/openbox-3/desk.xbm +++ b/openbox-3/desk.xbm @@ -1,4 +1,4 @@ -#define desk_width 8 -#define desk_height 8 -static unsigned char desk_bits[] = { - 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x00 }; +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff --git a/openbox-3/desk_toggled.xbm b/openbox-3/desk_toggled.xbm index abca780..b4b5330 100644 --- a/openbox-3/desk_toggled.xbm +++ b/openbox-3/desk_toggled.xbm @@ -1,4 +1,4 @@ -#define desk_toggled_width 8 -#define desk_toggled_height 8 -static unsigned char desk_toggled_bits[] = { - 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 }; diff --git a/openbox-3/max_toggled.xbm b/openbox-3/max_toggled.xbm index 41b5350..cec3f24 100644 --- a/openbox-3/max_toggled.xbm +++ b/openbox-3/max_toggled.xbm @@ -1,4 +1,4 @@ #define max_toggled_width 8 #define max_toggled_height 8 static unsigned char max_toggled_bits[] = { - 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xff, 0xff, 0x00 }; + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/openbox-3/shade.xbm b/openbox-3/shade.xbm index ff774f8..83df38d 100644 --- a/openbox-3/shade.xbm +++ b/openbox-3/shade.xbm @@ -1,4 +1,4 @@ #define shade_width 8 #define shade_height 8 static unsigned char shade_bits[] = { - 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; + 0x18, 0x3c, 0x7e, 0xff, 0x18, 0x18, 0x18, 0x18 }; diff --git a/openbox-3/shade_toggled.xbm b/openbox-3/shade_toggled.xbm index 18e19f3..188cce2 100644 --- a/openbox-3/shade_toggled.xbm +++ b/openbox-3/shade_toggled.xbm @@ -1,4 +1,4 @@ #define shade_toggled_width 8 #define shade_toggled_height 8 static unsigned char shade_toggled_bits[] = { - 0xff, 0xff, 0x18, 0x18, 0x7e, 0x3c, 0x18, 0x00 }; + 0x18, 0x18, 0x18, 0x18, 0xff, 0x7e, 0x3c, 0x18 }; diff --git a/openbox-3/themerc b/openbox-3/themerc index d5d3293..aeb883f 100644 --- a/openbox-3/themerc +++ b/openbox-3/themerc @@ -88,32 +88,34 @@ window.inactive.button.disabled.image.color: #888888 # OSD osd.border.width: 1 -osd.border.color: #a5a5a5 +osd.border.color: #2d2d2d osd.bg: flat solid osd.bg.color: #dedede osd.label.bg: flat solid osd.label.bg.color: #dedede -osd.label.text.color: #222 +osd.label.text.color: #555555 osd.hilight.bg: flat solid osd.hilight.bg.color: #d64937 osd.unhilight.bg: flat solid -osd.unhilight.bg.color: #dedede +osd.unhilight.bg.color: #888888 -osd.button.unpressed.text.color: #222 -osd.button.pressed.text.color: #222 -osd.button.focused.text.color #222 +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #f0f0f0 +osd.button.unpressed.*.border.color: #b2b2b2 -osd.button.pressed.box.color: #D3D3D4 -osd.button.focused.box.color: #bbb +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #d3d3d3 +osd.button.pressed.*.border.color: #b2b2b2 -osd.button.*.bg: flat border -osd.button.pressed.bg: sunken solid -osd.button.*.bg.color: #f0f0f0 -osd.button.*.border.color: #b2b2b2 +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #f0f0f0 +osd.button.focused.*.border.color: #9c9c9c + +osd.button.focused.box.color: #d64937 # Fonts