Qt decoration plugin implementing WhiteSurGTK-like client-side decorations.
This project is modified based on the QAdwaitaDecorations project.
Some of the icon resources used in this project come from WhiteSur-gtk-theme.
After applying the plugin, the title bar of the Qt application looks like this:
This library uses private Qt headers and will likely not be forward nor backward compatible. This library will have to be recompiled with every Qt update. While it can be build using Qt 5, it is recommended to get backported changes from Qt 6. You can get these here.
Build instructions:
mkdir build
cd build
cmake [OPTIONS] [-DUSE_QT6=true] [-HAS_QT6_SUPPORT] ..
make && make install
Archlinux users can install qwhitesurgtkdecorations with aur:
yay -S qwhitesurgtkdecorations-qt5 qwhitesurgtkdecorations-qt6
It can be used by setting the QT_WAYLAND_DECORATION environment variable:
export QT_WAYLAND_DECORATION=whitesur-gtk
The code is under LGPL 2.1 with the "or any later version" clause.