mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-04-22 12:10:37 +02:00
readme: install plugin without home-manager
This commit is contained in:
parent
367f4fc6e9
commit
2eee96fe52
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
|
@ -56,6 +56,32 @@ this:
|
|||
}
|
||||
```
|
||||
|
||||
If you don't use Home Manager:
|
||||
|
||||
```nix
|
||||
{ lib, pkgs, inputs, ... }:
|
||||
with lib; let
|
||||
hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
|
||||
hypr-plugin-dir = pkgs.symlinkJoin {
|
||||
name = "hyrpland-plugins";
|
||||
paths = with hyprPluginPkgs; [
|
||||
hyprexpo
|
||||
#...plugins
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
environment.sessionVariables = { HYPR_PLUGIN_DIR = hypr-plugin-dir; };
|
||||
}
|
||||
```
|
||||
|
||||
And in `hyprland.conf`
|
||||
|
||||
```hyprlang
|
||||
# load all the plugins you installed
|
||||
exec-once = hyprctl plugin load "$HYPR_PLUGIN_DIR/lib/libhyprexpo.so"
|
||||
```
|
||||
|
||||
# Contributing
|
||||
|
||||
Feel free to open issues and MRs with fixes.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue