nixos-configs/modules/hyprland/hyprexpo.nix
matt1432 2226b33bc8
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hypr): add official overview plugin
2024-04-06 04:10:33 -04:00

28 lines
740 B
Nix

{
hypr-official-plugins,
pkgs,
...
}: {
wayland.windowManager.hyprland = {
plugins = [hypr-official-plugins.packages.${pkgs.system}.hyprexpo];
settings = {
plugin = {
hyprexpo = {
columns = 3;
gap_size = 5;
bg_col = "rgb(111111)";
workspace_method = "center current"; # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true; # laptop touchpad, 4 fingers
gesture_distance = 300; # how far is the "max"
gesture_positive = true; # positive = swipe down. Negative = swipe up.
};
};
bind = [
"ALT, tab, hyprexpo:expo, toggle" # can be: toggle, off/disable or on/enable
];
};
};
}