refactor(hyprland): move terminal keybind into registry

This commit was merged in pull request #147.
This commit is contained in:
2026-10-10 15:41:32 -04:00
parent 85fadc5bfc
commit fddec14128
4 changed files with 63 additions and 10 deletions

View File

@@ -12,6 +12,14 @@ in
options.modules.desktop.apps.ghostty.enable = lib.mkEnableOption "Ghostty as the desktop terminal";
config = lib.mkIf config.modules.desktop.apps.ghostty.enable {
registry.keybind.${config.networking.hostName}.ghostty = {
keys = "SUPER + Return";
action = {
kind = "exec";
command = "${pkgs.ghostty}/bin/ghostty";
};
};
home-manager.users.${user}.home.packages = [ pkgs.ghostty ];
};
}