theme: Add events for cellbroadcast

This commit is contained in:
Guido Günther
2024-09-23 12:18:26 +00:00
committed by Guido Günther
parent fc7ec6e809
commit dc12f3016f
2 changed files with 18 additions and 6 deletions
+17 -6
View File
@@ -29,6 +29,11 @@
"type" : "Sound", "type" : "Sound",
"effect" : "camera-shutter" "effect" : "camera-shutter"
}, },
{
"event-name" : "message-new-cellbroadcast",
"type" : "Sound",
"effect" : "cellbroadcast"
},
{ {
"event-name" : "message-new-email", "event-name" : "message-new-email",
"type" : "Sound", "type" : "Sound",
@@ -112,6 +117,12 @@
"type" : "VibraRumble", "type" : "VibraRumble",
"duration" : 12 "duration" : 12
}, },
{
"event-name" : "message-new-cellbroadcast",
"type" : "VibraPeriodic",
"magnitude" : 10000,
"duration" : 3000
},
{ {
"event-name" : "message-new-email", "event-name" : "message-new-email",
"type" : "VibraRumble", "type" : "VibraRumble",
@@ -168,12 +179,6 @@
"color" : "red", "color" : "red",
"frequency" : 5000 "frequency" : 5000
}, },
{
"event-name" : "phone-missed-call",
"type" : "Led",
"color" : "#00FFFF",
"frequency" : 3000
},
{ {
"event-name" : "message-missed-email", "event-name" : "message-missed-email",
"type" : "Led", "type" : "Led",
@@ -197,6 +202,12 @@
"type" : "Led", "type" : "Led",
"color" : "blue", "color" : "blue",
"frequency" : 2000 "frequency" : 2000
},
{
"event-name" : "phone-missed-call",
"type" : "Led",
"color" : "#00FFFF",
"frequency" : 3000
} }
] ]
} }
+1
View File
@@ -110,6 +110,7 @@ These events are meant to be used by applications.
- battery-caution: The event used when the battery is nearing exhaustion (below 40%, for example). - battery-caution: The event used when the battery is nearing exhaustion (below 40%, for example).
- battery-full: The event used when the battery is fully loaded up. - battery-full: The event used when the battery is fully loaded up.
- device-added: The event used when a device has become available to the desktop, i.e. due to USB plugging. - device-added: The event used when a device has become available to the desktop, i.e. due to USB plugging.
- message-new-cellbroadcast: The event used when a new cell broadcast message is received.
- power-plug: The power cable has been plugged in. - power-plug: The power cable has been plugged in.
- power-unplug: The power cable has been unplugged. - power-unplug: The power cable has been unplugged.