mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
Quit Ghostty with Command-Q if on Darwin
This commit is contained in:
parent
cc7b321aaa
commit
1f824f9250
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) enabled mapAttrsToList merge mkIf;
|
||||
inherit (lib) enabled mapAttrsToList merge mkIf optionals;
|
||||
in merge <| mkIf config.isDesktop {
|
||||
home-manager.sharedModules = [{
|
||||
programs.nushell.environmentVariables = {
|
||||
|
@ -71,7 +71,9 @@ in merge <| mkIf config.isDesktop {
|
|||
} ++ mapAttrsToList (name: value: "ctrl+${name}=${value}") {
|
||||
"physical:tab" = "next_tab";
|
||||
"shift+physical:tab" = "previous_tab";
|
||||
};
|
||||
} ++ optionals config.isDarwin [
|
||||
"command+q=quit"
|
||||
];
|
||||
};
|
||||
};
|
||||
}];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue