├── preview.gif ├── Walbox └── openbox-3 │ ├── close.xbm │ ├── desk.xbm │ ├── max.xbm │ ├── shade.xbm │ ├── desk_hover.xbm │ ├── iconify.xbm │ ├── max_hover.xbm │ ├── close_hover.xbm │ ├── desk_toggled.xbm │ ├── iconify_hover.xbm │ ├── max_toggled.xbm │ ├── shade_hover.xbm │ ├── shade_toggled.xbm │ ├── desk_toggled_hover.xbm │ ├── max_toggled_hover.xbm │ ├── shade_toggled_hover.xbm │ └── bullet.xbm ├── install.sh ├── README.md └── themerc /preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edisile/walbox/HEAD/preview.gif -------------------------------------------------------------------------------- /Walbox/openbox-3/close.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xb6,0x01,0xce,0x01,0xce,0x01,0xb6,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/desk.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xfe,0x01,0xce,0x01,0xce,0x01,0xfe,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/max.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xfe,0x01,0xce,0x01,0xb6,0x01,0xfe,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/shade.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0x86,0x01,0xfe,0x01,0xfe,0x01,0xfe,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/desk_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x01,0x02,0x31,0x02,0x31,0x02,0x01,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/iconify.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xfe,0x01,0xfe,0x01,0x86,0x01,0xfe,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/max_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x01,0x02,0x31,0x02,0x49,0x02,0x01,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/close_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x49,0x02,0x31,0x02,0x31,0x02,0x49,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/desk_toggled.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xce,0x01,0x86,0x01,0x86,0x01,0xce,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/iconify_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x01,0x02,0x01,0x02,0x79,0x02,0x01,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/max_toggled.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0xfe,0x01,0xb6,0x01,0xce,0x01,0xfe,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/shade_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x79,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/shade_toggled.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x00,0x00,0x78,0x00,0xfc,0x00,0x86,0x01,0xb6,0x01,0xb6,0x01,0x86,0x01,0xfc, 5 | 0x00,0x78,0x00,0x00,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/desk_toggled_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x31,0x02,0x79,0x02,0x79,0x02,0x31,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/max_toggled_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x01,0x02,0x49,0x02,0x31,0x02,0x01,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/shade_toggled_hover.xbm: -------------------------------------------------------------------------------- 1 | #define _width 10 2 | #define _height 10 3 | static char _bits[] = { 4 | 0x78,0x00,0x84,0x00,0x02,0x01,0x79,0x02,0x49,0x02,0x49,0x02,0x79,0x02,0x02, 5 | 0x01,0x84,0x00,0x78,0x00 }; 6 | -------------------------------------------------------------------------------- /Walbox/openbox-3/bullet.xbm: -------------------------------------------------------------------------------- 1 | #define bullet_width 10 2 | #define bullet_height 10 3 | static unsigned char bullet_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x30, 0x00, 5 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 6 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | config_dir="${XDG_CONFIG_HOME:-$HOME/.config}" 4 | cache_dir="${XDG_CACHE_DIR:-$HOME/.cache}" 5 | 6 | # Copy themerc template 7 | mkdir "$config_dir"/wal/templates/ 2> /dev/null 8 | cp themerc "$config_dir"/wal/templates/themerc 9 | 10 | # Generate a themerc from current wal colors 11 | wal -nqi $(cat $cache_dir/wal/wal) 12 | 13 | # Copy theme bitmaps 14 | cp -r Walbox ~/.themes/Walbox 15 | 16 | # Symlink themerc 17 | ln --symbolic $cache_dir/wal/themerc $HOME/.themes/Walbox/openbox-3/themerc 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Walbox 2 | ## An Openbox theme fueled by Pywal 3 | 4 | ![](./preview.gif) 5 | 6 | Walbox is an Openbox theme that uses Pywal-generated color schemes to adapt itself to the current wallpaper. 7 | 8 | ### How to install 9 | 10 | #### Requirements 11 | 12 | You need to have Pywal installed (obviously). 13 | 14 | #### Install 15 | 16 | ```sh 17 | git clone https://github.com/edisile/walbox.git 18 | cd walbox 19 | ./install.sh 20 | ``` 21 | 22 | ### Usage 23 | 24 | Once installed, the theme can be activated by either choosing it in Obconf or by manually editing che rc.xml Openbox config. 25 | 26 | When changing the color scheme via Pywal the theme files will be automatically updated, but Openbox won't load the changes; to overcome this you will have to run `openbox --reconfigure`. -------------------------------------------------------------------------------- /themerc: -------------------------------------------------------------------------------- 1 | # Wal Openbox theme template by edisile 2 | 3 | ### WINDOW 4 | border.width: 2 5 | 6 | window.client.padding.width: 0 7 | window.client.padding.height: 0 8 | window.handle.width: 0 9 | 10 | padding.width: 2 11 | padding.height: 2 12 | 13 | window.active.border.color: {background} 14 | window.inactive.border.color: {background} 15 | window.active.title.separator.color: {background} 16 | window.inactive.title.separator.color: {background} 17 | window.active.client.color: {background} 18 | window.inactive.client.color: {background} 19 | 20 | window.active.label.text.color: {foreground} 21 | window.inactive.label.text.color: #777777 22 | 23 | window.active.title.bg: flat solid 24 | window.active.title.bg.color: {background} 25 | window.active.label.bg: flat solid 26 | window.active.label.bg.color: {background} 27 | window.inactive.title.bg: flat solid 28 | window.inactive.title.bg.color: {background} 29 | window.inactive.label.bg: flat solid 30 | window.inactive.label.bg.color: {background} 31 | 32 | window.*.button.*.hover.bg: flat 33 | window.*.button.*.hover.bg: parentrelative 34 | window.active.button.disabled.image.color: #999999 35 | 36 | window.*.button.close.*.image.color: {color1} 37 | window.*.button.max.*.image.color: {color2} 38 | window.*.button.iconify.*.image.color: {color4} 39 | window.*.button.desk.*.image.color: {color3} 40 | window.*.button.shade.*.image.color: {color5} 41 | 42 | window.active.button.unpressed.bg: parentrelative 43 | window.active.button.pressed.bg: parentrelative 44 | window.active.button.hover.bg: parentrelative 45 | window.active.button.disabled.bg: parentrelative 46 | window.active.button.toggled.unpressed.bg: parentrelative 47 | window.active.button.toggled.pressed.bg: parentrelative 48 | window.active.button.toggled.hover.bg: parentrelative 49 | window.inactive.button.unpressed.bg: parentrelative 50 | window.inactive.button.pressed.bg: parentrelative 51 | window.inactive.button.hover.bg: parentrelative 52 | window.inactive.button.disabled.bg: parentrelative 53 | window.inactive.button.toggled.unpressed.bg: parentrelative 54 | window.inactive.button.toggled.pressed.bg: parentrelative 55 | window.inactive.button.toggled.hover.bg: parentrelative 56 | 57 | window.label.text.justify: left 58 | 59 | ### MENU 60 | menu.border.width: 4 61 | menu.separator.width: 1 62 | menu.separator.padding.width: 10 63 | menu.separator.padding.height: 2 64 | 65 | menu.overlap.x: 0 66 | menu.overlap.y: 0 67 | 68 | menu.border.color: {background} 69 | menu.separator.color: {background} 70 | 71 | menu.title.text.color: #ffffff 72 | menu.title.bg: flat solid 73 | menu.title.bg.color: {background} 74 | menu.title.text.justify: center 75 | menu.title.text.font: shadow=y 76 | 77 | menu.items.text.color: #b5b5b5 78 | menu.items.disabled.text.color: #7a7a7a 79 | menu.items.active.text.color: {color1} 80 | menu.items.active.disabled.text.color: #aeb0b6 81 | menu.items.bg: flat solid 82 | menu.items.bg.color: {background} 83 | menu.items.active.bg: flat solid 84 | menu.items.active.bg.color: {background} 85 | 86 | ### OSD 87 | osd.border.width: 4 88 | osd.border.color: {background} 89 | 90 | osd.label.text.color: {foreground} 91 | 92 | osd.bg: flat solid 93 | osd.bg.color: {background} 94 | osd.label.bg: flat solid 95 | osd.label.bg.color: {background} 96 | osd.hilight.bg: flat solid 97 | osd.hilight.bg.color: {color1} 98 | osd.unhilight.bg: flat solid 99 | osd.unhilight.bg.color: {foreground} --------------------------------------------------------------------------------