summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRoger Steve Ruiz <hi@rog.gr>2024-09-28 23:28:34 -0500
committerRoger Steve Ruiz <hi@rog.gr>2024-09-28 23:28:34 -0500
commitf9ee41a05d4d4a0a39afcefddf8b5d631b9cf6d3 (patch)
tree31d05ab6f9a895681585eb9b8579c63eaed78657 /modules
parent3ac7acd32db4f7111015e8d5349ff6067df01bf6 (diff)
Adding option for slow-motion-allowed;
This was inspired by a recent Daring Fireball post where I was reminded about this feature and how it's missing from being able to configure it in Nix-Darwin. [https://daringfireball.net/linked/2024/09/28/hidden-pref-to-restore-slow-motion-dock-minimizing-on-macos]()
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/dock.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix
index 7fda0da..55199c4 100644
--- a/modules/system/defaults/dock.nix
+++ b/modules/system/defaults/dock.nix
@@ -147,6 +147,14 @@ in {
'';
};
+ system.defaults.dock.slow-motion-allowed = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = lib.mdDoc ''
+ Allow for slow-motion minimize effect while holding Shift key. The default is false.
+ '';
+ };
+
system.defaults.dock.static-only = mkOption {
type = types.nullOr types.bool;
default = null;