1
0

macos: set up symbol hotkeys

This commit is contained in:
2025-09-21 17:00:10 -07:00
parent d93557d7bf
commit a204bbcf72
2 changed files with 84 additions and 0 deletions

83
system/macos/hotkeys.nix Normal file
View File

@@ -0,0 +1,83 @@
{ config, lib, ... }:
{
system.defaults.CustomUserPreferences = {
"com.apple.symbolichotkeys" = {
AppleSymbolicHotKeys = {
###
### Launchpad & Dock
###
# Turn Dock hiding on/off - "^ + Cmd + D"
"52".enabled = false;
# Show Launchpad
"160".enabled = false;
###
### Mission Control
###
# Trigger Mission Control - "Cmd + Up"
"32" = {
enabled = true;
value = {
type = "standard";
parameters = [ 65535 126 11534336 ];
};
};
# Show Notification Center
"163".enabled = false;
# Turn Do Not Disturb on/off
"175".enabled = false;
# Application Windows
"33".enabled = false;
# Show Desktop
"36".enabled = false;
# Quick Note
"190".enabled = false;
###
### Input Sources
###
# Select previous input source - "^ + Space"
"60".enabled = false;
# Select next input source - "^ + Opt + Space"
"61".enabled = false;
###
### Screenshots
###
# Save picture of screen as a file - "^ + Shift + F11"
"28" = {
enabled = true;
value = {
type = "standard";
parameters = [ 65535 103 8781824 ];
};
};
# Copy picture of screen to the clipboard
"29".enabled = false;
# Save picture of selected area as a file - "^ + F11"
"30" = {
enabled = true;
value = {
type = "standard";
parameters = [ 65535 103 8650752 ];
};
};
# Copy picture of selected area to the clipboard
"31".enabled = false;
# Screenshot and recording options
"184".enabled = false;
###
### Spotlight
###
# Show Spotlight Search - "Cmd + Space"
#"64".enable = false;
};
};
};
}