This effect rounds the corners of your windows and adds an outline around them without much affecting the performance of the KDE Plasma desktop (see #49 and #50).
This effect started as a fork of shapecorners with some additional contributions in Alex47's project, then I optimized and reimplemented the effect with shaders.
- Compatibility of the effect with other effects like Wobbly windows - by matinlotfali
- Optimize the effect to render once instead of 5 times - by matinlotfali - see #49
- Reimplementation with shaders to include shadows at corners and an outline - by matinlotfali
- Compatiblity with KWin from versions 5.23 to 5.26 - by matinlotfali
- Disable effect when window gets maximized - by matinlotfali
- Cleanups for the plugin logic, remove unneeded dependencies from CMakeLists.txt file - by alex1701c
- Separate outline color for active and inactive windows - by OrkenWhite
You need to install development packages for your distrobution first:
- Debian based (Ubuntu, Kubuntu, KDE Neon) - by alex47:
sudo apt install git cmake g++ gettext extra-cmake-modules qttools5-dev libqt5x11extras5-dev libkf5configwidgets-dev libkf5globalaccel-dev libkf5notifications-dev kwin-dev
- Fedora - by matinlotfali
sudo dnf install git cmake gcc-c++ extra-cmake-modules qt5-qttools-devel qt5-qttools-static qt5-qtx11extras-devel kf5-kconfigwidgets-devel kf5-kcrash-devel kf5-kguiaddons-devel kf5-kglobalaccel-devel kf5-kio-devel kf5-ki18n-devel kwin-devel qt5-qtbase-devel libepoxy-devel
- Arch - by hexa-one
or AUR package by Shaurya-Kalia
sudo pacman -S git cmake extra-cmake-modules base-devel yay -S qt5-tools
sudo pamac build kde-rounded-corners
- OpenSUSE - by mathiasgredal and @Richardsause
sudo zypper install git cmake gcc-c++ extra-cmake-modules libqt5-qttools-devel libqt5-qtx11extras-devel kconfigwidgets-devel kguiaddons-devel kglobalaccel-devel ki18n-devel knotifications-devel kwin5-devel libQt5Gui-devel libQt5OpenGL-devel libepoxy-devel kwindowsystem-devel libqt5-qtnetworkauth-devel
- Void - by lay-by
xbps-install git cmake make qt5-tools-devel extra-cmake-modules qt5-x11extras-devel gettext-devel kwin-devel
Then get the source code and compile:
git clone https://github.com/matinlotfali/KDE-Rounded-Corners
cd KDE-Rounded-Corners
mkdir build
cd build
cmake ..
make
sudo make install
You can now logout and log back in or run the command below to have it activated.
kwin --replace &
You can change corner radius, or disable the effect in:
System Settings --> Workspace Behavior --> Desktop Effects --> ShapeCorners
To fully uninstall, simply run the command sudo make uninstall
inside build
directory