hyprland-plugins/README.md

59 lines
1.4 KiB
Markdown
Raw Normal View History

2023-02-27 15:01:11 +01:00
# hyprland-plugins
2023-02-27 15:02:21 +01:00
This repo houses official plugins for Hyprland.
2023-10-29 21:00:17 +01:00
> [!IMPORTANT]
> hyprland-plugins follows hyprland-git and requires hyprland-git to work properly.
> If you want to use a versioned hyprland, you'll have to reset hyprland-plugins
> to a commit from before that hyprland version's release date.
2023-02-27 15:02:21 +01:00
# Plugin list
2023-02-27 16:25:21 +01:00
- borders-plus-plus -> adds one or two additional borders to windows
2023-02-27 15:02:21 +01:00
- csgo-vulkan-fix -> fixes custom resolutions on CS:GO with `-vulkan`
2023-02-28 21:30:51 +01:00
- hyprbars -> adds title bars to windows
2023-02-27 15:02:21 +01:00
2023-11-02 18:31:30 +01:00
# Nix
To use these plugins, it's recommended that you are already using the
[Hyprland flake](https://github.com/hyprwm/Hyprland).
First, add this flake to your inputs:
```nix
inputs = {
# ...
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
# ...
};
```
The `inputs.hyprland.follows` guarantees the plugins will always be built using
your locked Hyprland version, thus you will never get version mismatches that
lead to errors.
After that's done, you can use the plugins with the Home Manager module like
this:
```nix
{inputs, pkgs, ...}: {
wayland.windowManager.hyprland = {
enable = true;
# ...
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
# ...
];
};
}
```
2023-02-27 15:02:21 +01:00
# Contributing
Feel free to open issues and MRs with fixes.
2023-11-02 18:31:30 +01:00
If you want your plugin added here, contact vaxry beforehand.