A Hyprland plugin manager
[!IMPORTANT] Deprecated This plugin has been all but made obsolete by Hyprland now including
hyprpm, its own plugin manager.hyprloadwill likely not receive additional updates, as even I have switched over tohyprpm.
jq (required for checking Hyprland version)polkit (required to set up Hyprland plugin env)lxsession works for me.cpio (required during installation for file management)hyprloadcurl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bashhyprloadexec-once=$HOME/.local/share/hyprload/hyprload.shhyprload.toml file (by default, next to your hyprland.conf config: ~/.config/hypr/hyprload.tomlplugins = [
# Installs the plugin from https://github.com/Duckonaut/split-monitor-workspaces
"Duckonaut/split-monitor-workspaces",
# A more explicit definition of the git install
{ git = "https://github.com/Duckonaut/split-monitor-workspaces", branch = "main", name = "split-monitor-workspaces" },
# Installs the same plugin from a local folder
{ local = "/home/duckonaut/repos/split-monitor-workspaces" },
]hyprload dispatcher in your hyprland.conf for the functions you want.load: Loads all the pluginsclear: Unloads all the pluginsreload: Unloads then reloads all the pluginsinstall: Installs the required plugins from hyprload.tomlupdate: Updates hyprload and the required plugins from hyprload.tomlbind=SUPERSHIFT,R,hyprload,reload
bind=SUPERSHIFT,U,hyprload,updateThe configuration of hyprload behavior is done in hyprland.conf, like a normal plugin
| Name | Type | Default | Description |
|---|---|---|---|
plugin:hyprload:quiet |
bool | false | Whether to hide the notifications |
plugin:hyprload:debug |
bool | false | Whether to hide extra-special debug notifications |
plugin:hyprload:config |
string | ~/.config/hypr/hyprload.toml |
The path to your plugin requirements file |
plugin:hyprload:hyprland_headers |
string | empty |
The path to the Hyprland source to force using as headers. |
If you maintain a plugin for Hyprland, to support automatic management via hyprload.toml, you need to create a hyprload.toml manifest in the root of your
repository. hyprload cannot assume the way your plugins are built.
The plugin manifest needs to specify some information about the plugins in the repo. If you're familiar with TOML, it means specifying two dictionaries per plugin -
PLUGIN_NAME and PLUGIN_NAME.build. The PLUGIN_NAME dictionary has basic information about the plugin like the version, the description and the author. These
are not used currently, and can be omitted if you don't want to bother for now.
The PLUGIN_NAME.build dictionary is much more important, as it holds 2 important values: output, which is the path to the built plugin .so from the repo root,
and steps, which holds the commands to run to build that .so. hyprload will define HYPRLAND_HEADERS while building the plugin, and guarantees the version
of the headers matches the Hyprland version you're running.
It's important to note that the hyprload.toml plugin manifest can hold multiple plugins. This allows you to define a single manifest for a monorepo.
The full specification of a PLUGIN_NAME dict:
| Name | Type | Description |
|---|---|---|
| description | string | Short description |
| version | string | Version |
| author | string | Author |
| authors | list | Can be defined instead of author |
| build.output | string | The path of the .so output |
| build.steps | list | List of commands to build the .so |
[split-monitor-workspaces]
description = "Split monitor workspaces"
version = "1.0.0"
author = "Duckonaut"
[split-monitor-workspaces.build]
output = "split-monitor-workspaces.so"
steps = [
"make all",
]Here's what the manifest would look like for the official plugins.
…No open issues yet, or sync has not completed.