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