Zren / material-decoration

Material-ish window decoration theme for KWin, with LIM, based on zzag's original design.
GNU General Public License v2.0
197 stars 17 forks source link

Demo

material-decoration

Material-ish window decoration theme for KWin.

Locally Integrated Menus

This hides the AppMenu icon button and draws the menu in the titlebar.

Make sure you add the AppMenu button in System Settings > Application Style > Window Decorations > Buttons Tab.

TODO/Bugs (Issue #1):

Upstream LIM discussion in the KDE Bug report: https://bugs.kde.org/show_bug.cgi?id=375951#c27

Installation

Binary package

Building from source

Build dependencies:

Download the source:

cd ~/Downloads
git clone https://github.com/Zren/material-decoration.git
cd material-decoration

Then compile the decoration, and install it:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

Select Material in System Settings > Application Style > Window Decorations.

To test changes, restart kwin_x11 with:

QT_LOGGING_RULES="*=false;kdecoration.material=true" kstart5 -- kwin_x11 --replace

Update

On 2020 June 18, the kdecoration id was changed from zzag to zren. You will need to re-select Material in System Settings > Application Style > Window Decoration. KWin will fallback to Breeze if you forget to do this.

Building from source

First navigate to the source directory, and git pull recent changes.

cd ~/Downloads/material-decoration
git pull origin master --ff-only

Then re-run the install instructions.