mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37:44 +00:00
feat: remove window decorations on darwin too
This commit is contained in:
parent
59c9608c28
commit
1fa648a224
1 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ config, lib, pkgs, ... }: let
|
{ config, lib, pkgs, ... }: let
|
||||||
inherit (lib) enabled mapAttrsToList merge mkIf optionals;
|
inherit (lib) enabled mapAttrsToList merge mkIf;
|
||||||
in merge <| mkIf config.isDesktop {
|
in merge <| mkIf config.isDesktop {
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
TERMINAL = mkIf config.isLinux "ghostty";
|
TERMINAL = mkIf config.isLinux "ghostty";
|
||||||
|
@ -26,7 +26,7 @@ in merge <| mkIf config.isDesktop {
|
||||||
|
|
||||||
mouse-hide-while-typing = true;
|
mouse-hide-while-typing = true;
|
||||||
|
|
||||||
confirm-close-surface = false;
|
confirm-close-surface = false;
|
||||||
quit-after-last-window-closed = true;
|
quit-after-last-window-closed = true;
|
||||||
|
|
||||||
window-decoration = config.isDarwin;
|
window-decoration = config.isDarwin;
|
||||||
|
@ -74,9 +74,7 @@ in merge <| mkIf config.isDesktop {
|
||||||
} ++ mapAttrsToList (name: value: "ctrl+${name}=${value}") {
|
} ++ mapAttrsToList (name: value: "ctrl+${name}=${value}") {
|
||||||
"physical:tab" = "next_tab";
|
"physical:tab" = "next_tab";
|
||||||
"shift+physical:tab" = "previous_tab";
|
"shift+physical:tab" = "previous_tab";
|
||||||
} ++ optionals config.isDarwin [
|
};
|
||||||
"command+q=quit"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue