summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-03-01 16:24:09 +1100
committerGitHub <noreply@github.com>2024-03-01 16:24:09 +1100
commitc2751db910d47a0f08e989fe1360897d90fc3961 (patch)
tree6547500fe971a16039fbec1553e5b39b80940db6 /modules
parent283d59778e6b8c41cac4bdeac5b2512d6de51150 (diff)
parentad98aebc0f900fa9bef8dfa8f5bdb328ab93ccd3 (diff)
Merge pull request #894 from MoritzR/master
defaults: Add options for dragOnGesture feature
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index 4f08d4a..03a7da2 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 = lib.mdDoc ''
+ 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;