refactor(hyprland): rename keybind registry
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
}:
|
||||
# The Hyprland compositor.
|
||||
let
|
||||
|
||||
mkBind = keybind: {
|
||||
_args = [
|
||||
(lib.concatStringsSep " + " keybind.keys)
|
||||
@@ -13,7 +12,7 @@ let
|
||||
];
|
||||
};
|
||||
keybinds = lib.attrValues (
|
||||
lib.attrByPath [ config.networking.hostName ] { } config.registry.desktop-keybind
|
||||
lib.attrByPath [ config.networking.hostName ] { } config.registry.keybind
|
||||
);
|
||||
|
||||
toLua = lib.generators.toLua { };
|
||||
@@ -22,7 +21,7 @@ in
|
||||
options.modules.desktop.session.hyprland.enable = lib.mkEnableOption "the Hyprland compositor";
|
||||
|
||||
config = lib.mkIf config.modules.desktop.session.hyprland.enable {
|
||||
registry.desktop-keybind.${config.networking.hostName} = {
|
||||
registry.keybind.${config.networking.hostName} = {
|
||||
hyprland-terminal = {
|
||||
keys = [
|
||||
"SUPER"
|
||||
|
||||
Reference in New Issue
Block a user