mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +00:00
Removes hyprland module imports (not needed for normal ops)
This commit is contained in:
parent
f01a4e3004
commit
8d6e9afd62
2 changed files with 27 additions and 28 deletions
|
@ -20,30 +20,34 @@
|
||||||
services.mako.enable = true;
|
services.mako.enable = true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
extraConfig = ''
|
enable = true;
|
||||||
bind = SHIFT_SUPER, SPACE, exec, alacritty
|
|
||||||
bind = SUPER, SPACE, exec, rofi -modes "ssh,drun,window" -show drun
|
|
||||||
bind = ALT, SPACE, exec, rofi -show window
|
|
||||||
|
|
||||||
input {
|
settings = {
|
||||||
kb_layout=${globals.keyboard.layout}
|
bind = [
|
||||||
kb_variant=${globals.keyboard.variant}
|
"SHIFT_SUPER, SPACE, exec, alacritty"
|
||||||
sensitivity=0.4
|
"SUPER, SPACE, exec, rofi -modes \"ssh,drun,window\" -show drun"
|
||||||
accel_profile=adaptive
|
"ALT, SPACE, exec, rofi -show window"
|
||||||
touchpad {
|
];
|
||||||
natural_scroll=true
|
|
||||||
scroll_factor=0.45
|
|
||||||
tap-and-drag=true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
input = {
|
||||||
workspace_swipe=true
|
kb_layout = globals.keyboard.layout;
|
||||||
workspace_swipe_fingers=3
|
kb_variant = globals.keyboard.variant;
|
||||||
workspace_swipe_cancel_ratio=0.5
|
sensitivity = 0.4;
|
||||||
workspace_swipe_distance=2000
|
accel_profile = "adaptive";
|
||||||
workspace_swipe_invert=true
|
touchpad = {
|
||||||
}
|
natural_scroll = true;
|
||||||
'';
|
scroll_factor = 0.45;
|
||||||
|
tap-and-drag = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gestures = {
|
||||||
|
workspace_swipe = true;
|
||||||
|
workspace_swipe_fingers = 3;
|
||||||
|
workspace_swipe_cancel_ratio = 0.5;
|
||||||
|
workspace_swipe_distance = 2000;
|
||||||
|
workspace_swipe_invert = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
}: {
|
}: {
|
||||||
imports = [./desktop.nix];
|
imports = [./desktop.nix];
|
||||||
|
|
||||||
home-manager.sharedModules = [
|
|
||||||
{wayland.windowManager.hyprland.enable = true;}
|
|
||||||
inputs.hyprland.homeManagerModules.default
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue