diff --git a/.assets/config.png b/.assets/config.png new file mode 100644 index 0000000..584efcb Binary files /dev/null and b/.assets/config.png differ diff --git a/.assets/menu.png b/.assets/menu.png new file mode 100644 index 0000000..97bdb7c Binary files /dev/null and b/.assets/menu.png differ diff --git a/README.md b/README.md index 9235e87..100378c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,46 @@ # plasma-containmentactions-customdesktopmenu -## Sources +Custom desktop menu for Plasma 6 -- https://github.com/MatMoul/plasma-containmentactions-customdesktopmenu +menu +config + +## Build and install + +### Prerequisites + +- extra-cmake-modules >= 6.0.0 +- kdeplasma-addons >= 6.0.0 + +Archlinux : +``` +pacman -S --needed base-devel cmake extra-cmake-modules kdeplasma-addons +``` + +### Build + +``` +cd src +cmake --fresh -B ../_build . +cd ../_build +make clean +make +``` + +### Install / Update + +``` +chmod 755 bin/plasma/containmentactions/matmoul-customdesktopmenu.so +sudo cp bin/plasma/containmentactions/matmoul-customdesktopmenu.so /usr/lib/qt6/plugins/plasma/containmentactions +``` + +## Other + +- When you update the library, KWIN crash and restart with the new library. +- Favorites is not yet implemented. + +## Sources + +- https://github.com/MatMoul/plasma-containmentactions-customdesktopmenu/tree/plasma5 - https://invent.kde.org/plasma/plasma-workspace/-/tree/ea415539fc6256494d5c12296a6216e522e12b0a/containmentactions - https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/kicker/plugin/kastatsfavoritesmodel.cpp?ref_type=heads