GithubHelp home page GithubHelp logo

qortec / material-decoration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zren/material-decoration

0.0 0.0 0.0 457 KB

Material-ish window decoration theme for KWin, with LIM, based on zzag's original design.

License: GNU General Public License v2.0

CMake 2.61% C++ 97.39%

material-decoration's Introduction

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):

  • Open Submenu on Shortcut (eg: Alt+F)
  • Display mnemonics when holding Alt

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

Installation

Binary package

sudo zypper ar obs://home:trmdi trmdi
sudo zypper in -r trmdi material-decoration

Building from source

Build dependencies:

  • Ubuntu:
sudo apt build-dep breeze
sudo apt build-dep kwin

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.

material-decoration's People

Contributors

trmdi avatar zren avatar zzag avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.