Skip to content

zzag/kwin-effects-sliding-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sliding Notifications Effect

AUR version

This is a simple effect that makes notification windows slide in and out when they are shown or hidden. Demo

Building from Git

You will need the following dependencies to build this effect:

  • CMake
  • any C++20 enabled compiler
  • Qt
  • libkwineffects
  • KDE Frameworks:
    • 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 kf6-kconfig-devel \
    kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kwindowsystem-devel \
    kwin-devel libepoxy-devel qt6-qtbase-devel

On Ubuntu

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

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

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