move NotifService and NotifItem to services/, keep notification UI in modules/
This commit is contained in:
parent
a17a365b81
commit
d20fdf8fa0
8 changed files with 33 additions and 36 deletions
|
|
@ -6,7 +6,6 @@ import Quickshell.Services.Mpris
|
|||
import Quickshell.Services.Pipewire
|
||||
import "../services" as S
|
||||
import "../applets" as C
|
||||
import "../modules" as M
|
||||
|
||||
WlSessionLockSurface {
|
||||
id: root
|
||||
|
|
@ -149,7 +148,7 @@ WlSessionLockSurface {
|
|||
visible: (S.Modules.lock.notifications ?? true) && _notifGroups.length > 0
|
||||
|
||||
readonly property var _notifGroups: {
|
||||
const notifs = M.NotifService.list.filter(n => n.state !== "dismissed");
|
||||
const notifs = S.NotifService.list.filter(n => n.state !== "dismissed");
|
||||
const groups = {};
|
||||
for (const n of notifs) {
|
||||
const key = n.appIcon || n.appName || "unknown";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue