
Marwaita for Xfwm
Source (link to git-repo or to original if based on someone elses unmodified work):
Builds on darkomarko42's Marwaita CSD theme
Available as/for:xfce-412xfce-414xfce-416
Description:There are 5 Xfwm themes here, to cover the many variations of Marwaita GTK. That's as many as we need thanks to the very limited magic of Xfwm's Gtk color pickup.
Suggested theme pairings:
- Marwaita-Xfwm is for Marwaita *
- Marwaita-Xfwm-Alt is for Marwaita Alt *
- Marwaita-Xfwm-Color-Dark-Text is for Marwaita Color * if the titlebar text is dark
- Marwaita-Xfwm-Color-Light-Text is for Marwaita Color * if the titlebar text is dark
- Marwaita-Xfwm-Dark is for Marwaita Dark *
Where "*" stands for one of the operating system names supported by Marwaita GTK, such as "Debian" or "Zorin", or nothing at all.
Installation instructions:
- Set up a Marwaita GTK theme from the Collection: https://www.pling.com/p/1459536/
- Download the tarball from here and unpack it somewhere, or clone the git repository from Gitlab.
- From there, you can copy any folder in the themes/ subfolder into your $HOME/.themes.
- The Makefile has an install command too
Design notes:
- Big, friendly, grippable window borders. I hate 1px borders and so do you.
- Proper Gtk theme pickup, but you still need to pick a matching Xfwm theme for your GTK Marwaita.
- A slight bias towards windows with menu bars. Its a rolled up window balance thing too,
- 100% Fitts's Law Compliant for maximized windows. The buttons line up neatly against the screen edge if you don't have a panel up there.
- Toggle states shown for Menu, Shade, and Stick. I consider these to be like left hand side CSD Headerbar toggle buttons these days.
- Toggle states *not* shown for Maximize, because Marwaita CSD doesn't do that.
This theme does not yet support Marwaita OSX.
If you like this port, you can like and subscribe to it at https://gitlab.com/wednesbunny/marwaita-for-xfwm. A good rating here would be nice too, but all the credit should really go to @darkomarko42's themes!
v0.3.1
- Docs updates
- Manually adjust the overlay PNG alphas so they work a bit better (looks like there are some rounding errors)
- Fix Marwaita Alt's prelight and pressed button states
Ratings & Comments
7 Comments
10 10 the best
9 9 excellent
10 10 the best
hi can you explain me how this work? this create a xfwm theme from the colorscheme.ini file?
Sure. The Makefile allows you to type "make build". That calls a Python script, colorscheme.py on colorscheme.ini. The script takes every file in src/, and for each section in the .ini file, makes one output Xfwm theme in the output folder, themes/.
PNG files in the src/ tree are processed by changing the image alpha before writing the output PNG. The pixels in them should be either opaque black, or fully transparent. Xfwm uses these now translucent PNGs as overlays, on top of the XPMs. See https://wiki.xfce.org/howto/xfwm4_theme for details.
XPM files in the src/ tree are text files. It's an ancient image format you can edit in a text editor. Interestingly, they can substitute GTK colors for some of the palette: see https://wiki.xfce.org/howto/xfwm4_theme for details. Marwaita-Xfwm's "make build" processes them specially, inserting the values from the variables in the .ini file.