Giter Club home page Giter Club logo

kwin-effects-yet-another-magic-lamp's Introduction

Yet Another Magic Lamp

Screenshot

Demo

Yet Another Magic Lamp is a window minimization effect for KWin. Whenever a window is minimized, it'll get sucked down into the dock/panel. The main difference between this effect and the one shipped with KWin is that this effect is more "curvy". In addition to that, this effect works correctly with weird setups (e.g. the panel is between screens) and has more configuration options.

This is mostly eye-candy stuff. If you want to be more productive, consider using another window minimize animation (e.g. Scale, etc).

Installation

Build from source

You will need the following dependencies to build this effect:

  • CMake
  • any C++14 enabled compiler
  • Qt
  • libkwineffects
  • KDE Frameworks 5:
    • Config
    • CoreAddons
    • Extra CMake Modules
    • WindowSystem

On Arch Linux

sudo pacman -S cmake extra-cmake-modules kwin

On Fedora

sudo dnf install cmake extra-cmake-modules kf5-kconfig-devel \
    kf5-kcoreaddons-devel kf5-kwindowsystem-devel kwin-devel \
    qt5-qtbase-devel

On Ubuntu

sudo apt install cmake extra-cmake-modules kwin-dev libdbus-1-dev \
    libkf5config-dev libkf5configwidgets-dev libkf5coreaddons-dev \
    libkf5windowsystem-dev qtbase5-dev

After you installed all the required dependencies, you can build the effect:

git clone https://github.com/zzag/kwin-effects-yet-another-magic-lamp.git
mkdir build && cd build
cmake .. \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

Using the effect

Go to System Settings > Desktop Behavior > Desktop Effects, and select "Yet Another Magic Lamp", then click Apply.

Contributing

Any help is welcome. If you have suggestions how to improve this effect(e.g. different duration for each stage of the animation, etc), please create a new issue. If you'd like to contribute by implementing some feature, make sure you've run clang-format before creating a PR.

kwin-effects-yet-another-magic-lamp's People

Contributors

zzag avatar krisives avatar

Watchers

James Cloos avatar JefferyQ avatar  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.