mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +09:00
Ignore unity notification if app in focus
This commit is contained in:
@@ -116,7 +116,10 @@ export const NotificationsMonitor = class extends EventEmitter {
|
||||
|
||||
this._state[appId] = Object.assign(this._state[appId], state)
|
||||
|
||||
if (tracker.focus_app?.id == appId) this._state[appId].trayCount = 0
|
||||
if (tracker.focus_app?.id == appId) {
|
||||
this._state[appId].count = 0
|
||||
this._state[appId].trayCount = 0
|
||||
}
|
||||
|
||||
this._state[appId].urgent =
|
||||
state.urgent ||
|
||||
|
||||
Reference in New Issue
Block a user