From d053e8ade5ca7e784e3793e5cd07889189385abe Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Sun, 9 Jan 2022 01:58:14 +0100 Subject: [PATCH] modules/system/defaults/dock.nix: add options for hot corners --- modules/system/defaults/dock.nix | 92 ++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix index 83dffca4..5297d1e3 100644 --- a/modules/system/defaults/dock.nix +++ b/modules/system/defaults/dock.nix @@ -162,5 +162,97 @@ in { ''; }; + system.defaults.dock.wvous-tl-corner = mkOption { + type = types.nullOr types.int; + default = null; + description = '' + Hot corner action for top left corner. Valid values include: + + + 1: Disabled + 2: Mission Control + 3: Application Windows + 4: Desktop + 5: Start Screen Saver + 6: Disable Screen Saver + 7: Dashboard + 10: Put Display to Sleep + 11: Launchpad + 12: Notification Center + 13: Lock Screen + 14: Quick Note + + ''; + }; + + system.defaults.dock.wvous-bl-corner = mkOption { + type = types.nullOr types.int; + default = null; + description = '' + Hot corner action for bottom left corner. Valid values include: + + + 1: Disabled + 2: Mission Control + 3: Application Windows + 4: Desktop + 5: Start Screen Saver + 6: Disable Screen Saver + 7: Dashboard + 10: Put Display to Sleep + 11: Launchpad + 12: Notification Center + 13: Lock Screen + 14: Quick Note + + ''; + }; + + system.defaults.dock.wvous-tr-corner = mkOption { + type = types.nullOr types.int; + default = null; + description = '' + Hot corner action for top right corner. Valid values include: + + + 1: Disabled + 2: Mission Control + 3: Application Windows + 4: Desktop + 5: Start Screen Saver + 6: Disable Screen Saver + 7: Dashboard + 10: Put Display to Sleep + 11: Launchpad + 12: Notification Center + 13: Lock Screen + 14: Quick Note + + ''; + }; + + system.defaults.dock.wvous-br-corner = mkOption { + type = types.nullOr types.int; + default = null; + description = '' + Hot corner action for bottom right corner. Valid values include: + + + 1: Disabled + 2: Mission Control + 3: Application Windows + 4: Desktop + 5: Start Screen Saver + 6: Disable Screen Saver + 7: Dashboard + 10: Put Display to Sleep + 11: Launchpad + 12: Notification Center + 13: Lock Screen + 14: Quick Note + + ''; + }; + }; }