From 125fbdacc2cc8fa84fa68914ab47f30f56b4e157 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Mon, 19 Aug 2019 10:24:33 -0700 Subject: [PATCH] first commit --- LICENSE | 23 +++++++ openbox-3/bullet.xbm | 4 ++ openbox-3/close.xbm | 5 ++ openbox-3/close_hover.xbm | 4 ++ openbox-3/desk.xbm | 5 ++ openbox-3/desk_hover.xbm | 4 ++ openbox-3/desk_hover_toggled.xbm | 4 ++ openbox-3/desk_toggled.xbm | 5 ++ openbox-3/iconify.xbm | 5 ++ openbox-3/iconify_hover.xbm | 4 ++ openbox-3/max.xbm | 5 ++ openbox-3/max_hover.xbm | 4 ++ openbox-3/max_hover_toggled.xbm | 4 ++ openbox-3/max_toggled.xbm | 5 ++ openbox-3/shade.xbm | 5 ++ openbox-3/shade_hover.xbm | 4 ++ openbox-3/shade_hover_toggled.xbm | 4 ++ openbox-3/shade_toggled.xbm | 5 ++ openbox-3/themerc | 104 ++++++++++++++++++++++++++++++ 19 files changed, 203 insertions(+) create mode 100644 LICENSE create mode 100755 openbox-3/bullet.xbm create mode 100755 openbox-3/close.xbm create mode 100644 openbox-3/close_hover.xbm create mode 100644 openbox-3/desk.xbm create mode 100644 openbox-3/desk_hover.xbm create mode 100644 openbox-3/desk_hover_toggled.xbm create mode 100644 openbox-3/desk_toggled.xbm create mode 100755 openbox-3/iconify.xbm create mode 100644 openbox-3/iconify_hover.xbm create mode 100755 openbox-3/max.xbm create mode 100644 openbox-3/max_hover.xbm create mode 100644 openbox-3/max_hover_toggled.xbm create mode 100755 openbox-3/max_toggled.xbm create mode 100644 openbox-3/shade.xbm create mode 100644 openbox-3/shade_hover.xbm create mode 100644 openbox-3/shade_hover_toggled.xbm create mode 100644 openbox-3/shade_toggled.xbm create mode 100755 openbox-3/themerc diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fb7d8b1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +Copyright (c) 2019, Derek Stevens +nilix@nilfm.cc + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/openbox-3/bullet.xbm b/openbox-3/bullet.xbm new file mode 100755 index 0000000..e9fe0be --- /dev/null +++ b/openbox-3/bullet.xbm @@ -0,0 +1,4 @@ +#define bullet_width 6 +#define bullet_height 6 +static unsigned char bullet_bits[] = { + 0x06, 0x0c, 0x18, 0x18, 0x0c, 0x06 }; diff --git a/openbox-3/close.xbm b/openbox-3/close.xbm new file mode 100755 index 0000000..515600c --- /dev/null +++ b/openbox-3/close.xbm @@ -0,0 +1,5 @@ +#define close_width 10 +#define close_height 10 +static unsigned char close_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/close_hover.xbm b/openbox-3/close_hover.xbm new file mode 100644 index 0000000..ab7ff80 --- /dev/null +++ b/openbox-3/close_hover.xbm @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 }; diff --git a/openbox-3/desk.xbm b/openbox-3/desk.xbm new file mode 100644 index 0000000..31cba56 --- /dev/null +++ b/openbox-3/desk.xbm @@ -0,0 +1,5 @@ +#define desk_width 10 +#define desk_height 10 +static unsigned char desk_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/desk_hover.xbm b/openbox-3/desk_hover.xbm new file mode 100644 index 0000000..8a96ec9 --- /dev/null +++ b/openbox-3/desk_hover.xbm @@ -0,0 +1,4 @@ +#define desk_hover_toggled_width 8 +#define desk_hover_toggled_height 8 +static unsigned char desk_hover_toggled_bits[] = { + 0xff, 0x81, 0xbd, 0xa5, 0xa5, 0xbd, 0x81, 0xff }; diff --git a/openbox-3/desk_hover_toggled.xbm b/openbox-3/desk_hover_toggled.xbm new file mode 100644 index 0000000..306db39 --- /dev/null +++ b/openbox-3/desk_hover_toggled.xbm @@ -0,0 +1,4 @@ +#define desk_hover_width 8 +#define desk_hover_height 8 +static unsigned char desk_hover_bits[] = { + 0x00, 0x3c, 0x42, 0x5a, 0x5a, 0x42, 0x3c, 0x00 }; diff --git a/openbox-3/desk_toggled.xbm b/openbox-3/desk_toggled.xbm new file mode 100644 index 0000000..31cba56 --- /dev/null +++ b/openbox-3/desk_toggled.xbm @@ -0,0 +1,5 @@ +#define desk_width 10 +#define desk_height 10 +static unsigned char desk_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/iconify.xbm b/openbox-3/iconify.xbm new file mode 100755 index 0000000..85566d0 --- /dev/null +++ b/openbox-3/iconify.xbm @@ -0,0 +1,5 @@ +#define iconify_width 10 +#define iconify_height 10 +static unsigned char iconify_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/iconify_hover.xbm b/openbox-3/iconify_hover.xbm new file mode 100644 index 0000000..9a9743f --- /dev/null +++ b/openbox-3/iconify_hover.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/max.xbm b/openbox-3/max.xbm new file mode 100755 index 0000000..bb4bde7 --- /dev/null +++ b/openbox-3/max.xbm @@ -0,0 +1,5 @@ +#define max_width 10 +#define max_height 10 +static unsigned char max_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/max_hover.xbm b/openbox-3/max_hover.xbm new file mode 100644 index 0000000..505e112 --- /dev/null +++ b/openbox-3/max_hover.xbm @@ -0,0 +1,4 @@ +#define titlebutton_max_2_width 8 +#define titlebutton_max_2_height 8 +static unsigned char titlebutton_max_2_bits[] = { + 0xf8, 0xf0, 0xe0, 0xc1, 0x83, 0x07, 0x0f, 0x1f }; diff --git a/openbox-3/max_hover_toggled.xbm b/openbox-3/max_hover_toggled.xbm new file mode 100644 index 0000000..1fd0dce --- /dev/null +++ b/openbox-3/max_hover_toggled.xbm @@ -0,0 +1,4 @@ +#define max_hover_toggled_width 8 +#define max_hover_toggled_height 8 +static unsigned char max_hover_toggled_bits[] = { + 0x20, 0x60, 0xe0, 0x00, 0x00, 0x07, 0x06, 0x04 }; diff --git a/openbox-3/max_toggled.xbm b/openbox-3/max_toggled.xbm new file mode 100755 index 0000000..bb4bde7 --- /dev/null +++ b/openbox-3/max_toggled.xbm @@ -0,0 +1,5 @@ +#define max_width 10 +#define max_height 10 +static unsigned char max_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/shade.xbm b/openbox-3/shade.xbm new file mode 100644 index 0000000..51fd3d8 --- /dev/null +++ b/openbox-3/shade.xbm @@ -0,0 +1,5 @@ +#define shade_width 10 +#define shade_height 10 +static unsigned char shade_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/shade_hover.xbm b/openbox-3/shade_hover.xbm new file mode 100644 index 0000000..750a3f4 --- /dev/null +++ b/openbox-3/shade_hover.xbm @@ -0,0 +1,4 @@ +#define shade_hover_width 8 +#define shade_hover_height 8 +static unsigned char shade_hover_bits[] = { + 0x00, 0x18, 0x3c, 0x66, 0xc3, 0x81, 0x00, 0x00 }; diff --git a/openbox-3/shade_hover_toggled.xbm b/openbox-3/shade_hover_toggled.xbm new file mode 100644 index 0000000..5edfb9b --- /dev/null +++ b/openbox-3/shade_hover_toggled.xbm @@ -0,0 +1,4 @@ +#define shade_hover_toggled_width 8 +#define shade_hover_toggled_height 8 +static unsigned char shade_hover_toggled_bits[] = { + 0x00, 0x00, 0x81, 0xc3, 0x66, 0x3c, 0x18, 0x00 }; diff --git a/openbox-3/shade_toggled.xbm b/openbox-3/shade_toggled.xbm new file mode 100644 index 0000000..51fd3d8 --- /dev/null +++ b/openbox-3/shade_toggled.xbm @@ -0,0 +1,5 @@ +#define shade_width 10 +#define shade_height 10 +static unsigned char shade_bits[] = { + 0x7c, 0x00, 0xfe, 0x00, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, 0xff, 0x01, + 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00, 0x00, 0x00 }; diff --git a/openbox-3/themerc b/openbox-3/themerc new file mode 100755 index 0000000..0b896e4 --- /dev/null +++ b/openbox-3/themerc @@ -0,0 +1,104 @@ +# urchin openbox theme +# (c) 2019 Derek Stevens + +# This theme is distributed under the Simplified BSD License + +# Menu +menu.border.width: 0 +menu.overlap.x: 0 +menu.overlap.y: 0 + +menu.title.bg: Gradient Vertical +menu.title.bg.color: #222222 +menu.title.bg.colorTo: #000000 +menu.title.text.color: #ffffff + +menu.items.bg: flat solid +menu.items.bg.color: #000000 + +menu.items.text.color: #797979 +menu.items.disabled.text.color: #3f3f3f + +menu.items.active.bg: flat solid +menu.items.active.bg.color: #797979 +menu.items.active.text.color: #000000 + +# Common window attributes + +window.*.title.bg: Gradient Vertical Flat +window.*.title.bg.color: #222222 +window.*.title.bg.colorTo: #000000 +window.*.text.justify: center + +window.*.label.bg: parentrelative +window.active.label.text.color: #ffffff + +window.*.handle.bg: Gradient Vertical Flat +window.*.handle.bg.color: #101010 +window.*.handle.bg.colorTo: #000000 + +window.*.grip.bg: Gradient Vertical Flat +window.*.grip.bg.color: #101010 +window.*.grip.bg.colorTo: #000000 + +window.*.button.*.bg: parentrelative +window.*.button.*.pressed.image.color: #ffffff + +# Active window + + +window.active.button.shade.unpressed.image.color: #6D96A8 +window.active.button.desk.unpressed.image.color: #7E6DA8 +window.active.button.iconify.unpressed.image.color: #C3B207 +window.active.button.max.unpressed.image.color: #07C35B +window.active.button.close.unpressed.image.color: #C30716 + +window.active.button.disabled.image.color: #2f343f +window.active.button.toggled.image.color: #1f9b92 +window.active.button.hover.image.color: #ffffff +window.active.button.toggled.hover.image.color: #ffffff + +# Inactive window + +window.inactive.label.text.color: #797979 + +window.inactive.button.shade.unpressed.image.color: #374B54 +window.inactive.button.desk.unpressed.image.color: #3F3754 +window.inactive.button.iconify.unpressed.image.color: #615803 +window.inactive.button.max.unpressed.image.color: #03612D +window.inactive.button.close.unpressed.image.color: #61030B + +window.inactive.button.disabled.image.color: #191B21 +window.inactive.button.toggled.image.color: #0F4D48 +window.inactive.button.hover.image.color: #797979 +window.inactive.button.toggled.hover.image.color: #797979 + +# OSD +osd.border.width: 0 + +osd.bg: flat solid +osd.bg.color: #000000 +osd.label.bg: parentrelative +osd.label.text.color: #797979 + +osd.hilight.bg: flat solid +osd.hilight.bg.color: #797979 + +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #000000 + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n + + +# Everything else +border.width: 0 +padding.width: 2 +padding.height: 2 +window.handle.width: 4 +window.client.padding.width: 0 +window.label.text.justify: center +menu.title.text.justify: center \ No newline at end of file