-
-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feature) Add Stage Manager (com.apple.WindowManager) settings as sys…
…tem.defaults.windowmanager All credits go to @AlexOwl. Their [PR](#505) looked abandonned so I reported their changes and addressed the change requests.
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ config, lib, ... }: | ||
|
||
with lib; | ||
|
||
{ | ||
options = { | ||
system.defaults.WindowManager.GloballyEnabled = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
# Apple menu > System Settings > Dekstop and Dock > Stage Manager | ||
Stage Manager arranges your recent windows into a single strip for reduced clutter and quick access. Default is false. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.GloballyEnabledEver = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
# Apple menu > System Settings > Dekstop and Dock > Stage Manager | ||
Default is true. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.AutoHide = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
# Apple menu > System Settings > Dekstop and Dock > Stage Manager | ||
Do not show Recent Apps. Default is false. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.HideDesktop = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
# Apple menu > System Settings > Dekstop and Dock > Stage Manager | ||
Hide dekstop items. Default is false. | ||
''; | ||
}; | ||
}; | ||
} |