forked from Shinonome/dots-hyprland
music recognition: adjust message and icon
This commit is contained in:
@@ -17,7 +17,8 @@ function findSuitableMaterialSymbol(summary = "") {
|
|||||||
'time': 'scheduleb',
|
'time': 'scheduleb',
|
||||||
'installed': 'download',
|
'installed': 'download',
|
||||||
'configuration reloaded': 'reset_wrench',
|
'configuration reloaded': 'reset_wrench',
|
||||||
'unable': 'indeterminate_question_box',
|
'unable': 'question_mark',
|
||||||
|
"couldn't": 'question_mark',
|
||||||
'config': 'reset_wrench',
|
'config': 'reset_wrench',
|
||||||
'update': 'update',
|
'update': 'update',
|
||||||
'ai response': 'neurology',
|
'ai response': 'neurology',
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ AndroidQuickToggleButton {
|
|||||||
}
|
}
|
||||||
musicReconizedProc.running = true
|
musicReconizedProc.running = true
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
Quickshell.execDetached(["notify-send", Translation.tr("Unable to recognize music"), Translation.tr("Please make sure your music is playing and try again"), "-a", "Shell"])
|
Quickshell.execDetached(["notify-send", Translation.tr("Couldn't recognize music"), Translation.tr("Perhaps what you're listening to is too niche"), "-a", "Shell"])
|
||||||
} finally {
|
} finally {
|
||||||
root.toggled = false
|
root.toggled = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user