worked on QML and other minor details

This commit is contained in:
Tomas Rivera
2026-03-14 18:53:29 +01:00
parent 1525781f35
commit e513f4c797
14 changed files with 351 additions and 16 deletions
+12 -1
View File
@@ -2,11 +2,14 @@ pragma ComponentBehavior: Bound
import QtQuick
import Quickshell
import Quickshell.Io
import Quickshell.Wayland
import Quickshell.Services.Notifications
import "../theme" as Theme
import "."
PanelWindow {
id: root
@@ -23,8 +26,13 @@ PanelWindow {
bottom: true
right: true
}
Process {
id: notifLogger
}
NotificationServer {
actionsSupported: true
onNotification: notif => {
@@ -33,6 +41,9 @@ PanelWindow {
if (notif) {
notif.tracked = true;
root.notifs = [...root.notifs, notif];
notifLogger.command = ["QS-notifyhistory", notif.appName, notif.summary, notif.body, notif.urgency]
notifLogger.running = true // logs the notification for later
}
}
}