25 lines
815 B
Nix
25 lines
815 B
Nix
{pkgs, ...}: {
|
|
wayland.windowManager.hyprland = {
|
|
plugins = with pkgs; [
|
|
hycov
|
|
];
|
|
settings.plugin.hycov = {
|
|
overview_gappo = 20;
|
|
};
|
|
settings.bind = [
|
|
# bind key to toggle overview(normal mode)
|
|
"ALT,tab,hycov:toggleoverview"
|
|
|
|
# bind key to toggle overview(force mode,no affected by `only_active_workspace` and `only_active_monitor`)
|
|
"ALT,grave,hycov:toggleoverview,forceall" #grave key is the '~' key
|
|
|
|
# The direction switch shortcut key binding.
|
|
# calculate the window closest to the direction to switch focus.
|
|
# This keybind is applicable not only to the overview but also to the general layout
|
|
"ALT,h,hycov:movefocus,l"
|
|
"ALT,l,hycov:movefocus,r"
|
|
"ALT,k,hycov:movefocus,u"
|
|
"ALT,j,hycov:movefocus,d"
|
|
];
|
|
};
|
|
}
|