mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 06:15:49 +00:00
add notifications
edit widget.qml fix bug in monitor
This commit is contained in:
@ -205,8 +205,6 @@ Item {
|
||||
function action_requestKey() {
|
||||
if (debug) console.log("[main::action_requestKey]")
|
||||
|
||||
var message = AWKeys.graphicalValueByKey();
|
||||
if (message.length == 0) return
|
||||
AWActions.sendNotification("tag", message)
|
||||
AWKeys.graphicalValueByKey()
|
||||
}
|
||||
}
|
||||
|
@ -240,6 +240,8 @@ Item {
|
||||
var message = i18n("Tag: %1", tags.currentText)
|
||||
message += "<br>"
|
||||
message += i18n("Value: %1", AWKeys.valueByKey(tags.currentText))
|
||||
message += "<br>"
|
||||
message += i18n("Info: %1", AWKeys.infoByKey(tags.currentText))
|
||||
AWActions.sendNotification("tag", message)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user