From 2ffb75f9423eb85c4ba5fa043b356f83e0586163 Mon Sep 17 00:00:00 2001 From: Moritz Rumpf Date: Wed, 28 Feb 2024 14:44:09 +0100 Subject: defaults: Add options for dragOnGesture feature This is just a rebased version of https://github.com/LnL7/nix-darwin/pull/513 Credit to @2gn --- modules/system/defaults/NSGlobalDomain.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/system') diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 4f08d4a..3a18de6 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -225,6 +225,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.NSWindowShouldDragOnGesture = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to enable moving window by holding anywhere on it like on Linux. The default is false. + ''; + }; + system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption { type = types.nullOr types.int; default = null; -- cgit v1.2.3