fix: Update notification sound play logic
This commit is contained in:
@@ -80,9 +80,9 @@ Item {
|
|||||||
repeat: false
|
repeat: false
|
||||||
|
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
focusedMonitor = Hyprland.focusedMonitor
|
|
||||||
notificationReceived(notification)
|
|
||||||
if(!notification.lastGeneration && notificationServerState.soundEnabled){
|
if(!notification.lastGeneration && notificationServerState.soundEnabled){
|
||||||
|
focusedMonitor = Hyprland.focusedMonitor
|
||||||
|
notificationReceived(notification)
|
||||||
notificationSound.play()
|
notificationSound.play()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user