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
|
||||||
|
|||||||
83
system/macos/hotkeys.nix
Normal file
83
system/macos/hotkeys.nix
Normal 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;
|
||||||
|
# Show Notification Center
|
||||||
|
"32".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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user