-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
661a067
commit 9889994
Showing
4 changed files
with
60 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
## V3.2 | ||
- Unblur is now trigger when the user "unactive" a window | ||
|
||
## V3 | ||
- Port to KDE 6 🚀 | ||
|
||
|
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,38 @@ | ||
import QtQuick | ||
import QtQml.Models | ||
import org.kde.taskmanager as TaskManager | ||
|
||
Item { | ||
id: plasmaTasksItem | ||
|
||
readonly property bool existsWindowActive: root.activeTaskItem && tasksRepeater.count > 0 && activeTaskItem.isActive | ||
property Item activeTaskItem: null | ||
|
||
TaskManager.TasksModel { | ||
id: tasksModel | ||
sortMode: TaskManager.TasksModel.SortVirtualDesktop | ||
groupMode: TaskManager.TasksModel.GroupDisabled | ||
activity: activityInfo.currentActivity | ||
virtualDesktop: virtualDesktopInfo.currentDesktop | ||
filterByVirtualDesktop: true | ||
filterByActivity: true | ||
} | ||
|
||
Item { | ||
id: taskList | ||
|
||
Repeater { | ||
id: tasksRepeater | ||
model: tasksModel | ||
|
||
Item { | ||
id: task | ||
readonly property bool isActive: IsActive === true ? true : false | ||
|
||
onIsActiveChanged: { | ||
if (isActive) plasmaTasksItem.activeTaskItem = task | ||
} | ||
} | ||
} | ||
} | ||
} |
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