init: working version
This commit is contained in:
commit
7d8d7dacae
109 changed files with 15066 additions and 0 deletions
34
modules/notifications/Wrapper.qml
Normal file
34
modules/notifications/Wrapper.qml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
import qs.config
|
||||
import qs.custom
|
||||
import Quickshell
|
||||
import Quickshell.Services.Notifications
|
||||
import QtQuick
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property PersistentProperties uiState
|
||||
required property Item panels
|
||||
|
||||
implicitHeight: content.implicitHeight
|
||||
implicitWidth: content.implicitWidth
|
||||
|
||||
Background {
|
||||
id: background
|
||||
visible: false
|
||||
wrapper: root
|
||||
}
|
||||
|
||||
GlowEffect {
|
||||
source: background
|
||||
glowColor: content.notifs.find(n => n.urgency === NotificationUrgency.Critical) ?
|
||||
Config.colors.error : Config.colors.notification
|
||||
}
|
||||
|
||||
Content {
|
||||
id: content
|
||||
|
||||
uiState: root.uiState
|
||||
panels: root.panels
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue