This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
34
modules/home/hyprland/binds/default.nix
Normal file
34
modules/home/hyprland/binds/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.wayland.windowManager.hyprland;
|
||||
|
||||
hyprland = import ./hyprland.nix;
|
||||
mediakeys = import ./mediakeys.nix { inherit pkgs; };
|
||||
windows = import ./windows.nix;
|
||||
workspaces = import ./workspaces.nix;
|
||||
|
||||
binds = builtins.concatLists [
|
||||
hyprland
|
||||
mediakeys
|
||||
windows
|
||||
workspaces
|
||||
];
|
||||
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
wayland.windowManager.hyprland = {
|
||||
settings = {
|
||||
bind = binds;
|
||||
bindm = (import ./mouse.nix);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue