move keybindings block into the config
This commit is contained in:
parent
90741d1d61
commit
d26a8d7399
1 changed files with 6 additions and 6 deletions
|
@ -23,12 +23,12 @@
|
||||||
subpixel = "rgb";
|
subpixel = "rgb";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
keybindings = let
|
||||||
keybindings = let
|
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
in lib.mkOptionDefault {
|
||||||
in lib.mkOptionDefault {
|
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||||
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
||||||
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue