mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 06:33:09 +00:00
hide applet when no notifications
This commit is contained in:
parent
ba9c60f54c
commit
91b4f891e7
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ Item {
|
|||
|
||||
Plasmoid.switchWidth: 500
|
||||
Plasmoid.switchHeight: 500
|
||||
Plasmoid.status: notificationsModel.count > 0
|
||||
? PlasmaCore.Types.ActiveStatus
|
||||
: PlasmaCore.Types.PassiveStatus
|
||||
|
||||
function addNotification(source, data, actions) {
|
||||
// Do not show duplicated notifications
|
||||
|
|
|
|||
Loading…
Reference in a new issue