Commit 7826044a authored by Florent Revest's avatar Florent Revest

ngfd: Disable sound by default in the chat and information_strong feedbacks....

ngfd: Disable sound by default in the chat and information_strong feedbacks. Fixes vibration on watches without speakers
parent c2bbbce6
[chat => play.mode=*,context@profile.current_profile=meeting]
ffmemless.effect = NGF_SHORT
haptic.type = alarm
[chat => play.mode=short]
immvibe.filename = /usr/share/sounds/vibra/tct_small_alert.ivt
ffmemless.effect = NGF_SHORT
haptic.type = alarm
[chat]
immvibe.profile = im.alert.pattern@general => immvibe.filename
immvibe.profile.fallback = im.alert.pattern@fallback => immvibe.filename
immvibe.lookup = true
ffmemless.effect = NGF_SHORT
haptic.type = alarm
[information_strong]
immvibe.filename = /usr/share/sounds/vibra/tct_information_strong.ivt
ffmemless.effect = NGF_STRONG
haptic.type = alarm
\ No newline at end of file
...@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" ...@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://git.merproject.org/mer-core/ngfd.git;protocol=https \ SRC_URI = "git://git.merproject.org/mer-core/ngfd.git;protocol=https \
file://ngfd.ini \ file://ngfd.ini \
file://ngfd.service \ file://ngfd.service \
file://chat.ini \
file://information_strong.ini \
file://0001-haptics-Always-vibrate-on-calendar-and-clock-events.patch \ file://0001-haptics-Always-vibrate-on-calendar-and-clock-events.patch \
file://0002-ffmemless-Reserve-enough-space-for-sprintf.patch" file://0002-ffmemless-Reserve-enough-space-for-sprintf.patch"
SRCREV = "fbeea2a48bebd3faaac1ee84a144f797ac9006fc" SRCREV = "fbeea2a48bebd3faaac1ee84a144f797ac9006fc"
...@@ -30,6 +32,9 @@ do_install_append() { ...@@ -30,6 +32,9 @@ do_install_append() {
ln -s /usr/lib/systemd/user/ngfd.service ${D}/home/ceres/.config/systemd/user/default.target.wants/ngfd.service ln -s /usr/lib/systemd/user/ngfd.service ${D}/home/ceres/.config/systemd/user/default.target.wants/ngfd.service
fi fi
cp ../information_strong.ini ${D}/usr/share/ngfd/events.d/information_strong.ini
cp ../chat.ini ${D}/usr/share/ngfd/events.d/chat.ini
install -d ${D}/usr/share/sounds/ install -d ${D}/usr/share/sounds/
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment