macos: set up symbol hotkeys
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./system/macos/environment.nix
|
./system/macos/environment.nix
|
||||||
./system/macos/fonts.nix
|
./system/macos/fonts.nix
|
||||||
|
./system/macos/hotkeys.nix
|
||||||
./system/macos/nix.nix
|
./system/macos/nix.nix
|
||||||
./system/macos/system.nix
|
./system/macos/system.nix
|
||||||
./system/macos/yabai.nix
|
./system/macos/yabai.nix
|
||||||
|
|||||||
34
system/macos/hotkeys.nix
Normal file
34
system/macos/hotkeys.nix
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
system.defaults.CustomUserPreferences = {
|
||||||
|
"com.apple.symbolichotkeys" = {
|
||||||
|
AppleSymbolicHotKeys = {
|
||||||
|
"52" = {
|
||||||
|
# Disable '^ + Cmd + D' to "Turn Dock hiding on/off"
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
"160" = {
|
||||||
|
# Disable "Show Launchpad"
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"32" = {
|
||||||
|
# Mission Control - Trigger Mission Control
|
||||||
|
enabled = true;
|
||||||
|
value = {
|
||||||
|
type = "standard";
|
||||||
|
parameters = [ 65535, 126, 11534336 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"34" = {
|
||||||
|
# Mission Control - Trigger Mission Control
|
||||||
|
enabled = true;
|
||||||
|
value = {
|
||||||
|
type = "standard";
|
||||||
|
parameters = [ 65535, 126, 11665408 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user