Skip to content

Commit

Permalink
revert: "Fix onlyMinimized option for icon-tasks" (#334)
Browse files Browse the repository at this point in the history
This reverts commit df4d1d3.
  • Loading branch information
HeitorAugustoLN authored Oct 15, 2024
1 parent df72af4 commit ae9043d
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions modules/widgets/icon-tasks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ae9043d

Please sign in to comment.