2024-05-01 10:21:28 -04:00
|
|
|
{
|
2024-06-24 11:46:08 -04:00
|
|
|
hyprland-plugins,
|
2024-05-01 10:21:28 -04:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
wayland.windowManager.hyprland = {
|
2024-06-24 11:46:08 -04:00
|
|
|
plugins = [hyprland-plugins.packages.${pkgs.system}.hyprexpo];
|
2024-05-01 10:21:28 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-06-17 21:31:47 -04:00
|
|
|
enable_gesture = true; # laptop touchpad
|
|
|
|
gesture_fingers = 3;
|
2024-05-01 10:21:28 -04:00
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|