Proposal: managed Hyprland plugins through the existing plugin manager #7724
Replies: 7 comments
|
Quick demo showing how you can install this plugin via omarchy's plugin commands screenrecording-2026-08-21_21-31-23.mp4 |
|
Would add toggles to this list so plugins like Peek have a supported path. |
|
I’ve been trying this with a That made me think a plugin should be able to have more than one kind. This one is I also added a That seems like a useful boundary: plugins can surface functionality in the bar when it needs quick access, or in the menu when it does not, without having to patch a user’s static menu configuration. |
|
The proof of concept is now available at https://github.com/catlee/omarchy-keyboard-tweaks. It is intentionally small: a Hyprland input component, a bar widget that owns the settings popup, and a manifest-provided Setup menu entry. Installing it through the plugin manager is enough to wire up all three. |
|
I added a A toggle plugin declares That gives plugins like Peek a direct path to the same on/off actions Omarchy already exposes, while the |
|
I think the smallest useful proposal is:
I’m not proposing a declarative bindings or window-rules format yet. That can follow if raw Lua proves to be the wrong boundary. The branch and the |
Uh oh!
There was an error while loading. Please reload this page.
I think this is worth exploring, but I’m not sure the current boundary is right yet.
Omarchy already has a way to install, enable, disable, update, and remove shell plugins. But changes to Hyprland still require editing
~/.config/hypr/and managing imports by hand.That applies to things like:
Could these become plugins too?
I’ve been working on this in a branch on my Omarchy fork. The current branch adds:
hyprlandplugin kind;entryPoints.hyprland;~/.config/omarchy/hypr-plugins.json;~/.local/state/omarchy/hypr/plugins.lua;The shape is partly inspired by lazy.nvim: a plugin manifest describes the entry point, dependencies, and priority, while the plugin itself remains code.
The first test plugin is
omarchy-vim-bindings, a Vim-styleh/j/k/lwindow-management keymap. It can be installed and removed through the plugin manager without adding an import to the user’s Hyprland config.I’m mostly trying to figure out whether this is a good direction for Omarchy:
hypr-plugins.jsonfile the right boundary?The goal isn’t to add Vim bindings to Omarchy’s defaults. It’s to see whether Hyprland changes could become installable and manageable in the same way as other Omarchy customizations.
All reactions