mirror of
https://github.com/pjones/plasma-manager.git
synced 2024-10-04 03:07:17 +03:00
Fix onlyMinimized option for icon-tasks (#333)
Co-authored-by: Heitor Augusto <IAm.HeitorALN@proton.me>
This commit is contained in:
parent
f13208d6b4
commit
df4d1d36d0
@ -122,7 +122,19 @@ 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 = mkBoolOption "Whether to show only window tasks that are minimized.";
|
||||
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;
|
||||
};
|
||||
};
|
||||
unhideOnAttentionNeeded = mkBoolOption "Whether to unhide if a window wants attention.";
|
||||
newTasksAppearOn = mkOption {
|
||||
|
Loading…
Reference in New Issue
Block a user