Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix onlyMinimized option for icon-tasks" #334

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading