diff --git a/modules/widgets/icon-tasks.nix b/modules/widgets/icon-tasks.nix index 3d10422b..bc6eda83 100644 --- a/modules/widgets/icon-tasks.nix +++ b/modules/widgets/icon-tasks.nix @@ -197,20 +197,7 @@ in onlyInCurrentScreen = mkBoolOption "Whether to show only window tasks that are on the same screen as the widget."; onlyInCurrentDesktop = mkBoolOption "Whether to only show tasks that are on the current virtual desktop."; onlyInCurrentActivity = mkBoolOption "Whether to show only tasks that are on the current activity."; - onlyMinimized = mkOption { - type = types.nullOr types.bool; - default = null; - example = true; - description = "Whether to show only window tasks that are minimized."; - apply = - onlyMinimized: - if onlyMinimized == null then - null - else if onlyMinimized == true then - 1 - else - 0; - }; + onlyMinimized = mkBoolOption "Whether to show only window tasks that are minimized."; }; unhideOnAttentionNeeded = mkBoolOption "Whether to unhide if a window wants attention."; newTasksAppearOn = mkOption {