forked from Shinonome/dots-hyprland
adjust urgent notif color
This commit is contained in:
@@ -27,7 +27,7 @@ MaterialShape { // App icon
|
|||||||
]
|
]
|
||||||
shape: isUrgent ? urgentShapes[Math.floor(Math.random() * urgentShapes.length)] : MaterialShape.Shape.Circle
|
shape: isUrgent ? urgentShapes[Math.floor(Math.random() * urgentShapes.length)] : MaterialShape.Shape.Circle
|
||||||
|
|
||||||
color: isUrgent ? Appearance.colors.colPrimary : Appearance.colors.colSecondaryContainer
|
color: isUrgent ? Appearance.colors.colPrimaryContainer : Appearance.colors.colSecondaryContainer
|
||||||
Loader {
|
Loader {
|
||||||
id: materialSymbolLoader
|
id: materialSymbolLoader
|
||||||
active: root.appIcon == ""
|
active: root.appIcon == ""
|
||||||
@@ -40,7 +40,7 @@ MaterialShape { // App icon
|
|||||||
"priority_high" : guessedIcon
|
"priority_high" : guessedIcon
|
||||||
}
|
}
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: isUrgent ? Appearance.colors.colOnPrimary : Appearance.colors.colOnSecondaryContainer
|
color: isUrgent ? Appearance.colors.colOnPrimaryContainer : Appearance.colors.colOnSecondaryContainer
|
||||||
iconSize: root.materialIconSize
|
iconSize: root.materialIconSize
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|||||||
Reference in New Issue
Block a user