blob: d21d1fb238e82efffe34dfa4e815a63ef435e1bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
+++
title = "Fvwm - day 3 (window decoration)"
author = ["Michał Sapka"]
date = 2024-09-04T22:16:00+02:00
categories = ["blog"]
draft = false
weight = 2001
image_dir = "blog/images"
image_max_width = 600
abstract = "CDE babe!"
+++
Mission for today: window decoration.
In Xorg, the WM is responsible for drawing titlebars, borders and so on.
Those are the `decorations`.
By default, Fvwm comes with a modern, flat design.
A bit boring for my taste.
{{< image class="centered" alt="Screenshot of St terminal editor" file="fvwm-wd-vanila.png" >}}
Default look
{{< /image >}}
What I want is the [Motif](https://en.wikipedia.org/wiki/Motif_%28software%29) style.
It's as cool as it gets - my taste in design is evolving, just backwards.
Luckily, Fvwm has me covered here!
This [decor](https://www.fvwm.org/Wiki/Decor/CDE/) is ready to use.
It even comes with multiple colours to choose from.
All I had to do is to add the decor from documentation and replace colours.
For me, I've chosen the SkyRed colours.
This is an escape from the gray hell of Apple design.
I've also:
- made the title bar a bit taller.
I've got 4k monitor, after all.
- move the title of the window to the left.
This resulted in this marvel:
{{< image class="centered" alt="Screenshot of St terminal editor" file="fvwm-wd-cde.png" >}}
3D madness!
{{< /image >}}
You can easily change all the sizes, colours - but I am happy with this.
I have also decided not to modify any buttons in the title bar - but it's also straightforward.
In 10 minutes (including finding out how) I've done what MacOS makes impossible.
Now I really don't want to return to that gray pit.
|