ugjka / kwin-effect-grayscale

KWin effect that turns the entire screen or a window in grayscale color

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kwin-effect-grayscale (Project dead as of 2020)

Donate

demo

Turn the entire screen or a window in grayscale

Shortcuts

CTRL + META + G for grayscaling the entire screen

CTRL + META + H for grayscaling the current window

You can change the shortcuts via System Settings -> Global Keyboard Shortcuts -> KWin

Or directly from the kwin effects settings menu

menu

Installation

ArchLinux: AUR

Manual build

You need extra-cmake-modules, kwin and kf5 *-dev packages installed

git clone https://github.com/ugjka/kwin-effect-grayscale.git
cd kwin-effect-grayscale
mkdir build && cd build
cmake .. \
        -DCMAKE_C_FLAGS:STRING="" \
        -DCMAKE_CXX_FLAGS:STRING="" \
        -DCMAKE_EXE_LINKER_FLAGS:STRING="" \
        -DCMAKE_SHARED_LINKER_FLAGS:STRING="" \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib
make
sudo make install

TODO

add gamma correction feature

About

KWin effect that turns the entire screen or a window in grayscale color

License:GNU General Public License v3.0


Languages

Language:C++ 71.1%Language:CMake 17.4%Language:GLSL 6.2%Language:Shell 5.3%