From 5750f737f1da38cf6743392e812aed7768e130c7 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Fri, 14 Nov 2025 11:55:36 -0800 Subject: [PATCH] [darwin] Update screengrab keys These conflict with aerospace space-management actions --- roles/darwin.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/roles/darwin.nix b/roles/darwin.nix index 5c5004d..8f88135 100644 --- a/roles/darwin.nix +++ b/roles/darwin.nix @@ -45,6 +45,41 @@ in time.timeZone = "America/Los_Angeles"; + # System preferences + system.defaults = { + # Custom keyboard shortcuts + CustomUserPreferences = { + "com.apple.symbolichotkeys" = { + AppleSymbolicHotKeys = { + # Screenshot - Capture entire screen (Cmd+Ctrl+3) + "28" = { + enabled = true; + value = { + parameters = [ 51 20 1310720 ]; + type = "standard"; + }; + }; + # Screenshot - Capture selected portion (Cmd+Ctrl+4) + "30" = { + enabled = true; + value = { + parameters = [ 52 21 1310720 ]; + type = "standard"; + }; + }; + # Screenshot - Show screenshot toolbar (Cmd+Ctrl+5) + "184" = { + enabled = true; + value = { + parameters = [ 53 23 1310720 ]; + type = "standard"; + }; + }; + }; + }; + }; + }; + environment.systemPackages = with pkgs; [ git glances