-
-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1002 from malko42/window-manager
(feature) Add Stage Manager (com.apple.WindowManager) settings
- Loading branch information
Showing
5 changed files
with
128 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,76 @@ | ||
{ config, lib, ... }: | ||
|
||
with lib; | ||
{ | ||
options = { | ||
system.defaults.WindowManager.GloballyEnabled = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Enable Stage Manager | ||
Stage Manager arranges your recent windows into a single strip for reduced clutter and quick access. Default is false. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.EnableStandardClickToShowDesktop = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Click wallpaper to reveal desktop | ||
Clicking your wallpaper will move all windows out of the way to allow access to your desktop items and widgets. Default is true. | ||
false means "Only in Stage Manager" | ||
true means "Always" | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.AutoHide = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Auto hide stage strip showing recent apps. Default is false. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.AppWindowGroupingBehavior = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Grouping strategy when showing windows from an application. | ||
false means "One at a time" | ||
true means "All at once" | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.StandardHideDesktopIcons = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Hide items on desktop. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.HideDesktop = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Hide items in Stage Manager. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.StandardHideWidgets = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Hide widgets on desktop. | ||
''; | ||
}; | ||
|
||
system.defaults.WindowManager.StageManagerHideWidgets = mkOption { | ||
type = types.nullOr types.bool; | ||
default = null; | ||
description = '' | ||
Hide widgets in Stage Manager. | ||
''; | ||
}; | ||
}; | ||
} |
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