From d5ad7202ea77e8a512073f9ce09b6c07e37d6305 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 6 Feb 2022 20:42:01 +0100 Subject: 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. --- usr/share/applications/chat.delta.KDeltaChat.desktop | 9 +++++++++ .../icons/hicolor/256x256/chat.delta.KDeltaChat.png | Bin 0 -> 18772 bytes usr/share/knotifications5/kdeltachat.notifyrc | 18 ++++++++++++++++++ usr/share/sounds/kdeltachat/incomingmessage.ogg | Bin 0 -> 6938 bytes 4 files changed, 27 insertions(+) create mode 100755 usr/share/applications/chat.delta.KDeltaChat.desktop create mode 100755 usr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.png create mode 100755 usr/share/knotifications5/kdeltachat.notifyrc create mode 100644 usr/share/sounds/kdeltachat/incomingmessage.ogg (limited to 'usr/share') 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 Binary files /dev/null and b/usr/share/icons/hicolor/256x256/chat.delta.KDeltaChat.png 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 Binary files /dev/null and b/usr/share/sounds/kdeltachat/incomingmessage.ogg differ -- cgit v1.2.3-70-g09d2