Table of Content
Goal: Reusable SVG, as a base for Openbox theme.
I will go straight to Inkscape’s SVG, and discuss about the style configuration later.
This guidance applied for any linux distribution.
Most Inkscape related article has been discussed in previous XFWM4 article.
Unified Graphic Material
This is the Inkscape Part.
SVG source is available at:
Get the SVG
You may make from scratch or get my
matclue.svg from my dotfiles repository at github.
Before you begin this the slices that we want to achieve.
I utilize some more layers, we are going to build this step by step.
We are using, only [W*H = 10px * 10px] button for this style. For each I give an imaginary narrow border of 1px wide, in border layer.
Building the XBM
This is also the Inkscape Part.
Since we are going to use XBM only.
Hint: Use Inkscape’s Batch Export, to export all shapes at once.
Consider set these layers before export:
(You may) Hide: name, border, background
Now the tricky part, for each border box parts.
We must select the box first in
so we can have the export target filename such as
frame layer, to select other box.
Openbox is using XBM, while Inkscape export to PNG.
Hence, we should convert from PNG to XBM.
We can utilize
mogrify to do this task.
This is still also the Inkscape Part.
Size: W*H = 10px * 10px. Each box button has this size.
Colors: Using Black and White only.
Design by Pixel
Due to tiny size of Openbox’s button, designed made per pixel. It is actually easy to do it in inkscape. Just use create rectangular or box shape, and then set the width/height size in pixel.
The rest for each box is self explanatory.
This is only the Inkscape Part, Consider continue reading [ Common Config Trick ]
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018