forked from Shinonome/dots-hyprland
add more notif icon
This commit is contained in:
@@ -26,8 +26,9 @@ function findSuitableMaterialSymbol(summary = "") {
|
|||||||
'upsca': 'compare',
|
'upsca': 'compare',
|
||||||
'music': 'queue_music',
|
'music': 'queue_music',
|
||||||
'install': 'deployed_code_update',
|
'install': 'deployed_code_update',
|
||||||
|
'input': 'keyboard_alt',
|
||||||
|
'preedit': 'keyboard_alt',
|
||||||
'startswith:file': 'folder_copy', // Declarative startsWith check
|
'startswith:file': 'folder_copy', // Declarative startsWith check
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const lowerSummary = summary.toLowerCase();
|
const lowerSummary = summary.toLowerCase();
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ Singleton {
|
|||||||
if (notifServerIndex !== -1) {
|
if (notifServerIndex !== -1) {
|
||||||
const notifServerNotif = notifServer.trackedNotifications.values[notifServerIndex];
|
const notifServerNotif = notifServer.trackedNotifications.values[notifServerIndex];
|
||||||
const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier);
|
const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier);
|
||||||
console.log("Action found: " + JSON.stringify(action));
|
// console.log("Action found: " + JSON.stringify(action));
|
||||||
action.invoke()
|
action.invoke()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user