Merge pull request #2088 from xi/titlelayout

theme: implement titleLayout
This commit is contained in:
Johan Malm 2024-08-21 19:20:34 +01:00 committed by GitHub
commit 228a74ca48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 261 additions and 179 deletions

View file

@ -432,6 +432,18 @@ extending outward from the snapped edge.
*<theme><name>*
The name of the Openbox theme to use. It is not set by default.
*<theme><titleLayout>*
Selection and order of buttons in a window's titlebar.
The following letters can be used, each only once:
- L: window label (aka. title)
- |: empty space (can be used instead of a title)
- W: window menu
- I: iconify
- M: maximize
- C: close
Example: WLIMC
*<theme><cornerRadius>*
The radius of server side decoration top corners. Default is 8.

View file

@ -28,6 +28,7 @@
<!-- <font><theme> can be defined without an attribute to set all places -->
<theme>
<name></name>
<titleLayout>WLIMC</titleLayout>
<cornerRadius>8</cornerRadius>
<keepBorder>yes</keepBorder>
<dropShadows>no</dropShadows>