A Mac-like window title and context menu applet built natively for KDE Plasma 6.
- Mac-Style App Menu: Left-click the active window's title in the panel to open a native context menu with window management actions (Minimize, Maximize, Close, Keep Above, etc.).
- Native Plasma 6 Architecture: Built on
PlasmaExtras.Menuto ensure robust Wayland support, focus management, and flawless C++ backend integration. - Pixel-Perfect Aesthetic: Mathematically centered layouts and 2px tight vertical panel margins seamlessly mirror the native Plasma 6 Global Menu button contour and styling.
- Dynamic Substitutions: Highly customizable text display using variables like
%a(App Name) and%w(Window Title).
This project was heavily refactored and expanded from the fantastic foundational work of:
- Dhruvesh Surolia (who ported the original concept to Plasma 6)
- Psifidotos (creator of the original Active Window Control applet)
- %a : Application Name
- %w : Window Title
- %q : Activity Name
<b>..</b>: Selective bold<i>..</i>: Selective Italics<br>/<p>: New line (Text will not be elided with multi-line text)
Hover states across different Plasma themes
Pressed states across different Plasma themes
Applet Settings (Appearance, Behavior, Substitutions, Keyboard Shortcuts)
You can easily install this directly through your Plasma Desktop:
- Right-click your panel and select Add Widgets...
- Click Get New Widgets...
- Search for Mac Title Menu and hit install!
If you've cloned this repository, you can easily install and test it using the provided script:
./install.shNote: This script copies the contents to ~/.local/share/plasma/plasmoids/com.ajxcodes.macappmenu and automatically restarts the Plasma shell.
Alternatively, you can build and install it using Plasma's native package tool:
kpackagetool6 -t Plasma/Applet -i ./