feat(hypr): hyprexpo -> Hyprspace
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
c93185e9e8
commit
244fd6daad
5 changed files with 16 additions and 29 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
15
modules/hyprland/Hyprspace.nix
Normal file
15
modules/hyprland/Hyprspace.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
Hyprspace,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
plugins = [Hyprspace.packages.${pkgs.system}.Hyprspace];
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
bind = [
|
||||||
|
"ALT, tab, overview:toggle"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -54,7 +54,7 @@ in {
|
||||||
# HOME-MANAGER CONFIG
|
# HOME-MANAGER CONFIG
|
||||||
home-manager.users.${mainUser} = {
|
home-manager.users.${mainUser} = {
|
||||||
imports = [
|
imports = [
|
||||||
./hyprexpo.nix
|
./Hyprspace.nix
|
||||||
./inputs.nix
|
./inputs.nix
|
||||||
./style.nix
|
./style.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
{
|
|
||||||
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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue