Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.43 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.43 KB

QWhiteSurGtkDecorations

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.

Screenshots

After applying the plugin, the title bar of the Qt application looks like this: effect

How to compile

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

For Archlinux users

Archlinux users can install qwhitesurgtkdecorations with aur:

yay -S qwhitesurgtkdecorations-qt5 qwhitesurgtkdecorations-qt6

Usage

It can be used by setting the QT_WAYLAND_DECORATION environment variable:

export QT_WAYLAND_DECORATION=whitesur-gtk

License

The code is under LGPL 2.1 with the "or any later version" clause.