| 1 |
# MacOS X version |
| 2 |
|
| 3 |
# Setup colorsets |
| 4 |
Read $./Colorsets |
| 5 |
|
| 6 |
DestroyDecor recreate WindowDecoration |
| 7 |
AddToDecor WindowDecoration |
| 8 |
|
| 9 |
+ TitleStyle InActive Colorset $[infostore.cs_window_inactive] |
| 10 |
+ TitleStyle Active Colorset $[infostore.cs_window_active] |
| 11 |
+ TitleStyle LeftJustified |
| 12 |
+ TitleStyle -- flat |
| 13 |
PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"' |
| 14 |
|
| 15 |
+ BorderStyle -- HiddenHandles |
| 16 |
+ BorderStyle -- Flat |
| 17 |
|
| 18 |
+ ButtonStyle 1 AdjustedPixmap $./window-close.png |
| 19 |
|
| 20 |
+ ButtonStyle 3 AdjustedPixmap $./window-iconify.png |
| 21 |
|
| 22 |
+ ButtonStyle 5 AdjustedPixmap $./window-maximize.png |
| 23 |
|
| 24 |
+ ButtonStyle 7 MiniIcon |
| 25 |
|
| 26 |
+ ButtonStyle All -- UseTitleStyle |
| 27 |
+ ButtonStyle All -- flat |
| 28 |
|
| 29 |
Style * HandleWidth 1, BorderWidth 1 |
| 30 |
Style * Colorset $[infostore.cs_window_inactive], \ |
| 31 |
BorderColorset $[infostore.cs_window_inactive], \ |
| 32 |
HilightColorset $[infostore.cs_window_active], \ |
| 33 |
HilightBorderColorset $[infostore.cs_window_active] |
| 34 |
|
| 35 |
Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" |
| 36 |
|
| 37 |
Style * UseDecor WindowDecoration |
| 38 |
|
| 39 |
# Setup button functions |
| 40 |
Include components/decorations/Buttons-macosx-MiniIcon |
| 41 |
|