Skip to content

Qt decoration plugin implementing WhiteSur-gtk-theme-like client-side decorations

License

Notifications You must be signed in to change notification settings

FengZhongShaoNian/QWhiteSurGtkDecorations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Qt decoration plugin implementing WhiteSur-gtk-theme-like client-side decorations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.6%
  • CMake 6.4%