29 lines
588 B
Nix
29 lines
588 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
wayland.windowManager.hyprland = {
|
|
# Load the Hyprexpo plugin (from nixpkgs)
|
|
plugins = [
|
|
pkgs.hyprlandPlugins.hyprexpo
|
|
];
|
|
|
|
# Append plugin config + keybind after your existing hyprland.conf
|
|
extraConfig = lib.mkAfter ''
|
|
############################
|
|
# Hyprexpo (workspace/window overview)
|
|
############################
|
|
|
|
# Basic plugin config (tweak as you like)
|
|
plugin {
|
|
hyprexpo {
|
|
columns = 3
|
|
gaps_in = 5
|
|
gaps_out = 20
|
|
|
|
# Comment out if you don't want it
|
|
workspace_method = center current
|
|
}
|
|
}
|
|
'';
|
|
};
|
|
}
|