forked from Shinonome/dots-hyprland
notifications: make icon guesses less strict
This commit is contained in:
@@ -9,7 +9,7 @@ function findSuitableMaterialSymbol(summary = "") {
|
|||||||
|
|
||||||
const keywordsToTypes = {
|
const keywordsToTypes = {
|
||||||
'reboot': 'restart_alt',
|
'reboot': 'restart_alt',
|
||||||
'recording': 'screen_record',
|
'record': 'screen_record',
|
||||||
'battery': 'power',
|
'battery': 'power',
|
||||||
'power': 'power',
|
'power': 'power',
|
||||||
'screenshot': 'screenshot_monitor',
|
'screenshot': 'screenshot_monitor',
|
||||||
@@ -21,7 +21,7 @@ function findSuitableMaterialSymbol(summary = "") {
|
|||||||
'update': 'update',
|
'update': 'update',
|
||||||
'ai response': 'neurology',
|
'ai response': 'neurology',
|
||||||
'control': 'settings',
|
'control': 'settings',
|
||||||
'upscale': 'compare',
|
'upsca': 'compare',
|
||||||
'install': 'deployed_code_update',
|
'install': 'deployed_code_update',
|
||||||
'startswith:file': 'folder_copy', // Declarative startsWith check
|
'startswith:file': 'folder_copy', // Declarative startsWith check
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user