From edac0da023a66419755fab55f8f522d24ace5212 Mon Sep 17 00:00:00 2001 From: Lukas Cech Date: Fri, 17 Jan 2025 10:04:21 +0100 Subject: [PATCH] Darwin config update --- darwin/common.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/darwin/common.nix b/darwin/common.nix index 9dce983..770283f 100644 --- a/darwin/common.nix +++ b/darwin/common.nix @@ -15,6 +15,7 @@ let # Write the mapping in such a way that: # NEWTILDE switches with NEWPIPE # NEWPIPE overrides NEWPLUSMINUS + # https://hidutil-generator.netlify.app/ UserKeyMapping = [ { HIDKeyboardModifierMappingSrc = 30064771125; @@ -111,8 +112,9 @@ in }; NSGlobalDomain = { - AppleShowScrollBars = "WhenScrolling"; + AppleShowScrollBars = "Automatic"; AppleScrollerPagingBehavior = true; + AppleSpacesSwitchOnActivate = lib.mkDefault true; "com.apple.swipescrolldirection" = false; NSAutomaticCapitalizationEnabled = false; # disable auto capitalization NSAutomaticDashSubstitutionEnabled = false; # disable auto dash substitution @@ -122,6 +124,14 @@ in NSNavPanelExpandedStateForSaveMode = true; # expand save panel by default }; + spaces = { + spans-displays = lib.mkDefault true; + }; + + WindowManager = { + EnableStandardClickToShowDesktop = lib.mkDefault false; + }; + # Customize settings that not supported by nix-darwin directly # see the source code of this project to get more undocumented options: # https://github.com/rgcr/m-cli