From 0d4ca894fa3b8dde69cf96527e972408232301f3 Mon Sep 17 00:00:00 2001 From: Christian Medel Date: Wed, 6 Feb 2019 08:53:53 -0500 Subject: [PATCH] Adding openbox support --- openbox-3/bullet.xbm | 4 ++ openbox-3/close.xbm | 6 ++ openbox-3/iconify.xbm | 6 ++ openbox-3/max.xbm | 6 ++ openbox-3/themerc | 128 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 150 insertions(+) create mode 100755 openbox-3/bullet.xbm create mode 100755 openbox-3/close.xbm create mode 100755 openbox-3/iconify.xbm create mode 100755 openbox-3/max.xbm create mode 100755 openbox-3/themerc diff --git a/openbox-3/bullet.xbm b/openbox-3/bullet.xbm new file mode 100755 index 0000000..c2a4c6a --- /dev/null +++ b/openbox-3/bullet.xbm @@ -0,0 +1,4 @@ +#define bullet_width 5 +#define bullet_height 7 +static unsigned char bullet_bits[] = { + 0x03, 0x06, 0x0c, 0x18, 0x0c, 0x06, 0x03 }; diff --git a/openbox-3/close.xbm b/openbox-3/close.xbm new file mode 100755 index 0000000..f9a28d8 --- /dev/null +++ b/openbox-3/close.xbm @@ -0,0 +1,6 @@ +#define close_width 15 +#define close_height 15 +static unsigned char close_bits[] = { + 0xe0, 0x03, 0xf8, 0x0f, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f, 0xff, 0x7f, + 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f, + 0xfc, 0x1f, 0xf8, 0x0f, 0xe0, 0x03 }; diff --git a/openbox-3/iconify.xbm b/openbox-3/iconify.xbm new file mode 100755 index 0000000..f9a28d8 --- /dev/null +++ b/openbox-3/iconify.xbm @@ -0,0 +1,6 @@ +#define close_width 15 +#define close_height 15 +static unsigned char close_bits[] = { + 0xe0, 0x03, 0xf8, 0x0f, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f, 0xff, 0x7f, + 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f, + 0xfc, 0x1f, 0xf8, 0x0f, 0xe0, 0x03 }; diff --git a/openbox-3/max.xbm b/openbox-3/max.xbm new file mode 100755 index 0000000..f9a28d8 --- /dev/null +++ b/openbox-3/max.xbm @@ -0,0 +1,6 @@ +#define close_width 15 +#define close_height 15 +static unsigned char close_bits[] = { + 0xe0, 0x03, 0xf8, 0x0f, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f, 0xff, 0x7f, + 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f, + 0xfc, 0x1f, 0xf8, 0x0f, 0xe0, 0x03 }; diff --git a/openbox-3/themerc b/openbox-3/themerc new file mode 100755 index 0000000..b12c705 --- /dev/null +++ b/openbox-3/themerc @@ -0,0 +1,128 @@ +menu.title.bg: flat +menu.title.bg.color: #1d1e22 +menu.title.text.color: #ffffff +menu.title.text.justify: left + +menu.items.bg: flat solid +menu.items.bg.color: #1d1e22 +menu.items.bg.border.color: #1d1e22 +menu.items.text.color: #ffffff +menu.items.justify: left + +menu.border.color: #1f1f1f +menu.separator.color: #1f1f1f + +menu.items.disabled.text.color: #8c8c8c +menu.bullet.image.color: #ffffff +menu.bullet.selected.image.color: #1d1e22 + +menu.items.active.bg: flat border +menu.items.active.bg.color: #007AFF +menu.items.active.bg.border.color: #007AFF +menu.items.active.text.color: #1d1e22 + +!! General window settings +window.label.text.justify: left + +!! focused window settings +window.active.client.color: #1d1e22 + +window.active.title.bg: focus: flat +window.active.title.bg.color: #3b3b3b +window.active.title.bg.border.color: #3b3b3b + +window.active.handle.bg: flat +window.active.handle.bg.color: #1d1e22 + +window.active.grip.bg: flat +window.active.grip.bg.color: #1d1e22 + +window.active.label.bg: parentrelative +window.active.label.text.color: #ffffff + +window.active.button.unpressed.bg: flat +window.active.button.unpressed.bg.color: #3b3b3b +window.active.button.unpressed.image.color: #8c8c8c + +# focused normal +window.active.button.max.unpressed.image.color: #3aea4a +window.active.button.close.unpressed.image.color: #f15056 +window.active.button.iconify.unpressed.image.color: #f9c536 + +# hover +window.active.button.max.hover.image.color: #3aea4a +window.active.button.close.hover.image.color: #f15056 +window.active.button.iconify.hover.image.color: #f9c536 + +# pressed +window.active.button.max.pressed.image.color: #13c21e +window.active.button.close.pressed.image.color: #d62836 +window.active.button.iconify.pressed.image.color: #fac637 + +window.active.button.pressed.bg: parentrelative +#window.active.button.pressed.image.color: #1d1e22 + +!! unfocused window settings +window.inactive.border.color: #545454 +window.inactive.client.color: #545454 + +window.inactive.title.bg: flat +window.inactive.title.bg.color: #545454 + +window.inactive.handle.bg: flat +window.inactive.handle.bg.color: #545454 + +window.inactive.grip.bg: flat +window.inactive.grip.bg.color: #545454 + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #8c8c8c + +window.inactive.button.unpressed.bg: flat +window.inactive.button.unpressed.bg.color: #545454 +window.inactive.button.unpressed.image.color: #c7c7c7 + +window.inactive.button.pressed.bg: flat +window.inactive.button.pressed.bg.color: parentrelative + +!#buttons new +window.active.button.disabled.bg: flat +window.active.button.disabled.bg.color: #3b3b3b +window.active.button.disabled.image.color: #1d1e22 + +window.inactive.button.disabled.bg: flat +window.inactive.button.disabled.bg.color: #3b3b3b +window.inactive.button.disabled.image.color: #8c8c8c + +window.active.button.toggled.bg: flat +window.active.button.toggled.bg.color: #4c4c4c +window.active.button.toggled.image.color: #1d1e22 + +window.inactive.button.toggled.bg: flat +window.inactive.button.toggled.bg.color: #3b3b3b +window.inactive.button.toggled.image.color: #4c4c4c + +!! Global width settings +border.width: 1 +padding.width: 6 +padding.height: 5 +window.handle.width: 0 +window.client.padding.width: 0 + +!! Miscellaneous settings +window.active.border.color: #1f1f1f +window.inactive.border.color: #1f1f1f +window.active.title.separator.color: #1f1f1f +window.inactive.title.separator.color: #1f1f1f + +!! fonts +window.active.label.text.font: Sans:bold:size=10 +window.inactive.label.text.font: Sans:bold:size=10 +menu.items.font: Sans:size=10 +menu.title.text.font: Sans:bold:size=10 + +!!OSD +osd.hilight.bg: flat border +osd.hilight.bg.color: #3b3b3bf5 +osd.hilight.bg.border.color: #1f1f1f +osd.inactive.label.text.color: #8c8c8c