aboutsummaryrefslogtreecommitdiff
path: root/usr/share
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2022-02-06 20:42:01 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2022-02-06 20:57:27 +0100
commitd5ad7202ea77e8a512073f9ce09b6c07e37d6305 (patch)
tree167141728086401a50a125a20997b61df41a2d2e /usr/share
parenta01f8091c01889d7ca90938f56ae176a74da5590 (diff)
downloadkdeltachat-d5ad7202ea77e8a512073f9ce09b6c07e37d6305.tar.gz
kdeltachat-d5ad7202ea77e8a512073f9ce09b6c07e37d6305.zip
Move notifications to own header file
- also make a skel for files in /usr/, useful for sounds and notifyrc - build.sh use plain simple cp -r to copy the skel. also copies the knotifications5 in the current directory for qml.qrc embedding in case the app is used on android.
Diffstat (limited to 'usr/share')
-rwxr-xr-xusr/share/applications/chat.delta.KDeltaChat.desktop9
-rwxr-xr-xusr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.pngbin0 -> 18772 bytes
-rwxr-xr-xusr/share/knotifications5/kdeltachat.notifyrc18
-rw-r--r--usr/share/sounds/kdeltachat/incomingmessage.oggbin0 -> 6938 bytes
4 files changed, 27 insertions, 0 deletions
diff --git a/usr/share/applications/chat.delta.KDeltaChat.desktop b/usr/share/applications/chat.delta.KDeltaChat.desktop
new file mode 100755
index 0000000..35c2999
--- /dev/null
+++ b/usr/share/applications/chat.delta.KDeltaChat.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=KDeltaChat
+Comment=Delta Chat client built with Kirigami
+Icon=chat.delta.KDeltaChat
+TryExec=kdeltachat
+Exec=kdeltachat
+Categories=Network;Email;InstantMessaging;Chat;KDE;Qt;
+StartupWMClass=KDeltaChat
diff --git a/usr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.png b/usr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.png
new file mode 100755
index 0000000..62f445e
--- /dev/null
+++ b/usr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.png
Binary files differ
diff --git a/usr/share/knotifications5/kdeltachat.notifyrc b/usr/share/knotifications5/kdeltachat.notifyrc
new file mode 100755
index 0000000..901db73
--- /dev/null
+++ b/usr/share/knotifications5/kdeltachat.notifyrc
@@ -0,0 +1,18 @@
+[Global]
+IconName=chat.delta.KDeltaChat
+Name=KDeltaChat
+Comment=KDeltaChat
+DesktopEntry=chat.delta.KDeltaChat
+
+[Event/onIncomingMessage]
+Name=New Message
+Comment=You have got a new message
+Contexts=none
+Sound=kdeltachat/incomingmessage.ogg
+Action=Popup|Sound
+
+[Event/workMode]
+Name=Working offline
+Comment=Switch to offline mode
+Contexts=none
+Action=Popup
diff --git a/usr/share/sounds/kdeltachat/incomingmessage.ogg b/usr/share/sounds/kdeltachat/incomingmessage.ogg
new file mode 100644
index 0000000..e7eb72d
--- /dev/null
+++ b/usr/share/sounds/kdeltachat/incomingmessage.ogg
Binary files differ