summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMoritz Rumpf <moritz.rumpf@gmail.com>2024-02-28 14:44:09 +0100
committerMoritz Rumpf <moritz.rumpf@gmail.com>2024-02-29 08:45:54 +0100
commit2ffb75f9423eb85c4ba5fa043b356f83e0586163 (patch)
treeca19064bc3cf9ee700e7c81150b0fe8e66385db4 /tests
parent283d59778e6b8c41cac4bdeac5b2512d6de51150 (diff)
defaults: Add options for dragOnGesture feature
This is just a rebased version of https://github.com/LnL7/nix-darwin/pull/513 Credit to @2gn
Diffstat (limited to 'tests')
-rw-r--r--tests/system-defaults-write.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system-defaults-write.nix b/tests/system-defaults-write.nix
index e3f69fe..4745efd 100644
--- a/tests/system-defaults-write.nix
+++ b/tests/system-defaults-write.nix
@@ -27,6 +27,7 @@
system.defaults.NSGlobalDomain.NSUseAnimatedFocusRing = false;
system.defaults.NSGlobalDomain.NSScrollAnimationEnabled = true;
system.defaults.NSGlobalDomain.NSWindowResizeTime = 0.01;
+ system.defaults.NSGlobalDomain.NSWindowShouldDragOnGesture = true;
system.defaults.NSGlobalDomain.InitialKeyRepeat = 10;
system.defaults.NSGlobalDomain.KeyRepeat = 1;
system.defaults.NSGlobalDomain.PMPrintingExpandedStateForPrint = true;
@@ -99,6 +100,7 @@
grep "defaults write -g 'NSUseAnimatedFocusRing' -bool NO" ${config.out}/activate-user
grep "defaults write -g 'NSScrollAnimationEnabled' -bool YES" ${config.out}/activate-user
grep "defaults write -g 'NSWindowResizeTime' -float 0.01" ${config.out}/activate-user
+ grep "defaults write -g 'NSWindowShouldDragOnGesture' -bool YES" ${config.out}/activate-user
grep "defaults write -g 'InitialKeyRepeat' -int 10" ${config.out}/activate-user
grep "defaults write -g 'KeyRepeat' -int 1" ${config.out}/activate-user
grep "defaults write -g 'PMPrintingExpandedStateForPrint' -bool YES" ${config.out}/activate-user