Material-ish window decoration theme for KWin
This hides the AppMenu icon button and draws the menu in the titlebar. It also
includes a search button to find actions. It works on both X11 and Wayland. On
Wayland, GTK apps don't export the menu in a KDE-friendly way. You need to
start them with GDK_BACKEND=x11 environment variable or you can try the
experimental
appmenu-gtk-module-wayland
(GTK3 only).
Make sure you add the AppMenu button in System Settings > Colors & Themes > Window Decorations > Configure Titlebar Buttons….
There, by clicking the pencil icon that is displayed when you select the Material theme, you can modify various aspects of the decoration, both in terms of appearance and behaviour. For example, you can transform it into a hamburger menu, disable the search function, and even decide whether to include inactive actions (those that are greyed out) in the search results.
Pressing and holding the “Close” button will minimize the window to the traybar if the kwin-minimize2tray script is present and enabled ( AUR package).
On Plasma 6.6, pressing and holding the "Minimize" button will minimize ALL
windows but the active one on Plasma 6.6 (Wayland). This requires MinimizeAll
script (please enable it in System Settings). For X11, please copy the
directory /usr/share/kwin-wayland/scripts/minimizeall to /usr/share/kwin-x11/scripts/minimizeall
git clone https://github.com/guiodic/material-decoration.git
cd material-decoration
mkdir build
cd build
cmake .. -DQT_MAJOR_VERSION=6 -DQT_VERSION_MAJOR=6
make
sudo make install
for Arch and derivatives, please install the AUR package material-kwin-decoration-git
NOTE: the master branch is aligned with the latest Plasma version. For earlier ones, see the other branches.
....
TODO/Bugs (Issue #1):
- Open Submenu on Shortcut (eg:
Alt+F) - Display mnemonics when holding
Alt
