From 5fee59e19e46ccee891c96e8177afb7d4c400e57 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 2 Jun 2015 16:16:36 +0100 Subject: update to fvwm-crystal 3.2.3 This update is big: upstream has simplified and refactored everything, so I had to move stuff around a lot. I now rely much more on the overlay system, instead of adding custom files all over the place. --- decorations/Dakkar/Default/Colorsets | 19 ++++++++++++++ decorations/Dakkar/Default/Theme.os2 | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 decorations/Dakkar/Default/Colorsets create mode 100644 decorations/Dakkar/Default/Theme.os2 (limited to 'decorations/Dakkar/Default') diff --git a/decorations/Dakkar/Default/Colorsets b/decorations/Dakkar/Default/Colorsets new file mode 100644 index 0000000..2b75860 --- /dev/null +++ b/decorations/Dakkar/Default/Colorsets @@ -0,0 +1,19 @@ +# Colorset setup + +# What colorset numbers do we use? +InfoStoreAdd cs_window_inactive "9" +InfoStoreAdd cs_window_active "10" + +# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +# Colorsets + +Colorset $[infostore.cs_window_inactive] \ +Foreground "#7f7d7b", Background "#bfbcb9", \ +Hilight "#666666", Shadow "#666666", \ +VGradient 100 3 "#f2eeeb" 40 "#f1edea" 10 "#bfbcb9" 50 "#d4d1cd", Tint + +Colorset $[infostore.cs_window_active] \ +Foreground "white", Background "#637a8a", \ +Hilight "gray", Shadow "gray", \ +VGradient 100 3 "#90a8b9" 40 "#8ba4b6" 10 "#576b79" 50 "#6d8798", Tint + diff --git a/decorations/Dakkar/Default/Theme.os2 b/decorations/Dakkar/Default/Theme.os2 new file mode 100644 index 0000000..928f31b --- /dev/null +++ b/decorations/Dakkar/Default/Theme.os2 @@ -0,0 +1,49 @@ +# OS/2 version + +# Setup colorsets +Read $./Colorsets + +DestroyDecor recreate WindowDecoration +AddToDecor WindowDecoration + ++ TitleStyle InActive Colorset $[infostore.cs_window_inactive] ++ TitleStyle Active Colorset $[infostore.cs_window_active] ++ TitleStyle LeftJustified ++ TitleStyle -- flat +PipeRead 'echo "+ TitleStyle Height $(($[title_font_size]+$(($[title_font_size]/3))))"' + ++ BorderStyle -- HiddenHandles ++ BorderStyle -- Flat + +# Close ++ ButtonStyle 1 Vector 17 23x23@4 28x23@1 48x43@1 65x23@1 70x23@1 \ + 70x28@1 52x48@1 70x65@1 70x70@1 65x70@1 \ + 48x52@1 28x70@1 23x70@1 23x65@1 43x48@1 \ + 23x28@1 23x23@1 + +# Maximize ++ ButtonStyle 2 Vector 13 43x23@4 50x23@1 50x43@1 70x43@1 70x50@1 \ + 50x50@1 50x70@1 43x70@1 43x50@1 23x50@1 \ + 23x43@1 43x43@1 43x23@1 + ++ ButtonStyle 3 MiniIcon + +# Iconify ++ ButtonStyle 4 Vector 5 23x63@4 74x63@1 74x72@1 23x72@1 23x63@1 + ++ ButtonStyle All -- UseTitleStyle ++ ButtonStyle All -- flat + +Style * HandleWidth 1, BorderWidth 1 +Style * Colorset $[infostore.cs_window_inactive], \ + BorderColorset $[infostore.cs_window_inactive], \ + HilightColorset $[infostore.cs_window_active], \ + HilightBorderColorset $[infostore.cs_window_active] + +Style * Font "xft:$[title_font]:pixelsize=$[title_font_size]:$[title_font_style]" + +Style * UseDecor WindowDecoration + +# Setup button functions +Include components/decorations/Buttons-os2-MiniIcon + -- cgit v1.2.3