Linux + iPhone Continuity / iMessage / SMS
feat: show app icons on mirrored notifications
Artrix476fde58611a
diff --git a/src/core/src/bluetooth/ancs/notifications.cpp b/src/core/src/bluetooth/ancs/notifications.cppindex 1a67881..685ae77 100644--- a/src/core/src/bluetooth/ancs/notifications.cpp+++ b/src/core/src/bluetooth/ancs/notifications.cpp@@ -144,17 +144,16 @@ namespace tether::bluetooth::ancs {std::vector<std::string> icon_candidates(const Notification& notification) {std::vector<std::string> out;- // Brand logos, named the way icon themes that carry them do (Papirus is- // the common one; Breeze and Adwaita ship none of these, which is why- // the category names below have to stand on their own).+ // App-specific icons bundled with Tether come first; theme icons remain+ // as compatibility fallbacks for the rest of the known app list.static const std::map<std::string, const char*> by_app_id{{"com.amazon.Amazon", "amazon"},{"com.apple.MobileAddressBook", "x-office-address-book"},- {"com.apple.MobileSMS", "internet-chat"},+ {"com.apple.MobileSMS", "tether-notification-imessage"},{"com.apple.Music", "multimedia-player"},{"com.apple.facetime", "camera-web"},{"com.apple.mobilecal", "office-calendar"},- {"com.apple.mobilemail", "mail-unread"},+ {"com.apple.mobilemail", "tether-notification-mail"},{"com.apple.mobilenotes", "accessories-text-editor"},{"com.apple.mobilephone", "call-start"},{"com.apple.mobileslideshow", "multimedia-photo-viewer"},@@ -162,26 +161,32 @@ namespace tether::bluetooth::ancs {{"com.apple.podcasts", "podcasts"},{"com.apple.reminders", "view-task"},{"com.atebits.Tweetie2", "twitter"},- {"com.burbn.instagram", "instagram"},- {"com.facebook.Facebook", "facebook"},+ {"com.burbn.instagram", "tether-notification-instagram"},+ {"com.facebook.Facebook", "tether-notification-facebook"},{"com.facebook.Messenger", "messenger"},- {"com.github.stormbreaker.prod", "github"},- {"com.google.Gmail", "gmail"},+ {"com.github.github", "tether-notification-github"},+ {"com.github.stormbreaker.prod", "tether-notification-github"},+ {"com.google.Gmail", "tether-notification-gmail"},{"com.google.Maps", "google-maps"},- {"com.google.ios.youtube", "youtube"},- {"com.hammerandchisel.discord", "discord"},+ {"com.google.ios.youtube", "tether-notification-youtube"},+ {"com.hammerandchisel.discord", "tether-notification-discord"},{"com.linkedin.LinkedIn", "linkedin"},- {"com.microsoft.Office.Outlook", "ms-outlook"},- {"com.reddit.Reddit", "reddit"},- {"com.spotify.client", "spotify"},+ {"com.instructure.ios.CanvasParent", "tether-notification-canvas"},+ {"com.instructure.ios.CanvasStudent", "tether-notification-canvas"},+ {"com.instructure.ios.CanvasTeacher", "tether-notification-canvas"},+ {"com.microsoft.Office.Outlook", "tether-notification-outlook"},+ {"com.microsoft.skype.teams", "tether-notification-teams"},+ {"com.microsoft.teams", "tether-notification-teams"},+ {"com.reddit.Reddit", "tether-notification-reddit"},+ {"com.spotify.client", "tether-notification-spotify"},{"com.tinyspeck.chatlyio", "slack"},- {"com.toyopagroup.picaboo", "snapchat"},+ {"com.toyopagroup.picaboo", "tether-notification-snapchat"},{"com.ubercab.UberClient", "uber"},- {"com.zhiliaoapp.musically", "tiktok"},- {"net.whatsapp.WhatsApp", "whatsapp"},- {"org.telegram.messenger", "telegram"},- {"org.whispersystems.signal", "signal-desktop"},- {"ph.telegra.Telegraph", "telegram"},+ {"com.zhiliaoapp.musically", "tether-notification-tiktok"},+ {"net.whatsapp.WhatsApp", "tether-notification-whatsapp"},+ {"org.telegram.messenger", "tether-notification-telegram"},+ {"org.whispersystems.signal", "tether-notification-signal"},+ {"ph.telegra.Telegraph", "tether-notification-telegram"},{"us.zoom.videomeetings", "zoom"},};diff --git a/src/daemon/notification.cpp b/src/daemon/notification.cppindex 0b66c78..e97094c 100644--- a/src/daemon/notification.cpp+++ b/src/daemon/notification.cpp@@ -86,13 +86,20 @@ namespace tether {return {};}- // Identifies the sending application to the notification server. Without- // this KDE shows the popup and then forgets it.- void set_identity(NotifyNotification* notification, const std::string& app_name) {- notify_notification_set_hint(notification, "desktop-entry", g_variant_new_string(DESKTOP_ENTRY));+ // Identifies the sending app to the notification server. Servers use+ // this desktop entry for the app label and may take its icon over the+ // icon passed to NotifyNotification.+ void set_identity(NotifyNotification* notification,+ const std::string& app_name,+ const std::string& icon = {}) {+ // Notification servers use desktop-entry as the notification's app+ // identity and may replace the supplied icon with that entry's icon.+ // Give bundled iPhone app icons their own matching identity so the+ // server keeps both the app name and its icon instead of showing Tether.+ const std::string desktop_entry = icon.starts_with("tether-notification-") ? icon : DESKTOP_ENTRY;+ notify_notification_set_hint(notification, "desktop-entry", g_variant_new_string(desktop_entry.c_str()));if (!app_name.empty()) {- // Keeps history and configuration grouped under Tether while the- // header names the iPhone app the notification came from.+ // KDE uses this label for the originating iPhone app.notify_notification_set_hint(notification, "x-kde-display-appname", g_variant_new_string(app_name.c_str()));}@@ -295,7 +302,7 @@ namespace tether {if (!notification)return G_SOURCE_REMOVE;- set_identity(notification, spec->app_name);+ set_identity(notification, spec->app_name, icon);notify_notification_set_urgency(notification, spec->quiet ? NOTIFY_URGENCY_LOW : NOTIFY_URGENCY_NORMAL);const AppLauncher launcher = spec->app_id.empty() ? AppLauncher{} : resolve_launcher(spec->app_id);diff --git a/src/gtk/CMakeLists.txt b/src/gtk/CMakeLists.txtindex d4549b1..8d042e4 100644--- a/src/gtk/CMakeLists.txt+++ b/src/gtk/CMakeLists.txt@@ -66,3 +66,11 @@ install(FILES icons/symbolic/tether-symbolic.svgicons/symbolic/tether-offline-symbolic.svgicons/symbolic/tether-unread-symbolic.svgDESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/symbolic/apps)++file(GLOB TETHER_NOTIFICATION_ICONS CONFIGURE_DEPENDS icons/notifications/*.svg)+install(FILES ${TETHER_NOTIFICATION_ICONS}+ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)++file(GLOB TETHER_NOTIFICATION_DESKTOP_FILES CONFIGURE_DEPENDS icons/notifications/*.desktop)+install(FILES ${TETHER_NOTIFICATION_DESKTOP_FILES}+ DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)diff --git a/src/gtk/icons/notifications/NOTICE.md b/src/gtk/icons/notifications/NOTICE.mdnew file mode 100644index 0000000..e496652--- /dev/null+++ b/src/gtk/icons/notifications/NOTICE.md@@ -0,0 +1,6 @@+The brand glyphs in this directory are from [Simple Icons](https://github.com/simple-icons/simple-icons),+revision `dc7b10662a0a2cfdfc9305e2a2b06c023c30724a`, and are distributed under+[CC0 1.0](https://github.com/simple-icons/simple-icons/blob/dc7b10662a0a2cfdfc9305e2a2b06c023c30724a/LICENSE.md).+The Tether copies set fixed display colors and icon dimensions. The `mail`,+`outlook`, and `teams` SVGs are original Tether artwork. Product names and marks+remain the property of their respective owners.diff --git a/src/gtk/icons/notifications/tether-notification-canvas.desktop b/src/gtk/icons/notifications/tether-notification-canvas.desktopnew file mode 100644index 0000000..cf01c07--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-canvas.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Canvas+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-canvas+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-canvas.svg b/src/gtk/icons/notifications/tether-notification-canvas.svgnew file mode 100644index 0000000..f5913c9--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-canvas.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#E13C1E" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Canvas</title><path d="M.4403 15.4142a13.7061 13.7061 0 0 1-.4362-3.4403 13.7 13.7 0 0 1 .4362-3.4401c1.7144.2103 3.0438 1.6686 3.0438 3.44 0 1.771-1.3287 3.23-3.0438 3.4404zm3.9728-3.4403c0 .6004.4866 1.0873 1.0872 1.0873.601 0 1.088-.487 1.088-1.0873s-.487-1.088-1.088-1.088c-.6006 0-1.0872.4876-1.0872 1.088zM23.56 8.5338c-1.7151.2103-3.044 1.6686-3.044 3.44 0 1.771 1.3289 3.23 3.044 3.4404a13.7313 13.7313 0 0 0 .436-3.4403c0-1.1883-.1518-2.3413-.436-3.4401zm-6.148 3.44c0 .6005.4865 1.0874 1.0877 1.0874.6002 0 1.088-.487 1.088-1.0873s-.4878-1.088-1.088-1.088c-.6012 0-1.0877.4876-1.0877 1.088zm-5.4347 8.5465c-1.7709 0-3.229 1.33-3.44 3.044a13.7364 13.7364 0 0 0 3.441.4357c1.1885 0 2.3403-.1515 3.44-.4357-.2107-1.714-1.6687-3.044-3.441-3.044zm.001-3.1046c-.6012 0-1.0878.4876-1.0878 1.0883s.4866 1.0882 1.0878 1.0882c.6 0 1.087-.4874 1.087-1.0882s-.487-1.0883-1.087-1.0883zm0-13.936c1.7713 0 3.2295-1.3292 3.4399-3.0438A13.7353 13.7353 0 0 0 11.9782 0c-1.1887 0-2.3412.1519-3.441.4359.211 1.7146 1.6691 3.0438 3.441 3.0438zm0 .9291c-.6012 0-1.0878.4866-1.0878 1.0876 0 .6002.4866 1.0876 1.0878 1.0876.6 0 1.087-.4874 1.087-1.0876 0-.601-.487-1.0876-1.087-1.0876zm6.032 13.5965c-1.2514 1.2523-1.344 3.2211-.2825 4.582a13.762 13.762 0 0 0 4.8636-4.8654c-1.3608-1.0597-3.3299-.9673-4.5812.2834zm-.6568-2.1948c-.425-.4245-1.1135-.4245-1.539 0-.4243.4252-.4243 1.1136 0 1.5383.4255.4253 1.114.4253 1.539 0 .424-.4247.424-1.1131 0-1.5383zM5.9648 5.9603c1.2516-1.2513 1.3437-3.2206.2825-4.5813a13.7677 13.7677 0 0 0-4.8644 4.8643c1.3612 1.0616 3.3306.9687 4.582-.283zm.6567.6572c-.424.4247-.424 1.1139 0 1.5383.4245.4246 1.114.4246 1.5382 0 .4248-.4244.4248-1.1136 0-1.5383-.4243-.4243-1.1137-.4243-1.5382 0zm15.9625-.3857a13.7597 13.7597 0 0 0-4.8637-4.8642c-1.0614 1.3609-.969 3.33.2823 4.5818 1.2517 1.2507 3.2204 1.3436 4.5814.2824zM17.346 8.1443c.4237-.4248.4237-1.1135 0-1.5383-.425-.4247-1.1145-.4247-1.5388 0-.4241.4248-.4241 1.1135 0 1.5383.4243.4243 1.1137.4243 1.5388 0zM1.3772 17.7087a13.763 13.763 0 0 0 4.8647 4.8654c1.0613-1.3608.9685-3.3297-.2833-4.5818-1.2512-1.251-3.2204-1.3436-4.5814-.2836zm5.2385-1.9115c-.4238.4247-.4238 1.1136 0 1.5384.425.4246 1.1141.4246 1.5382 0 .425-.4248.425-1.1137 0-1.5384-.4241-.4245-1.1131-.4245-1.5382 0z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-discord.desktop b/src/gtk/icons/notifications/tether-notification-discord.desktopnew file mode 100644index 0000000..b66bbac--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-discord.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Discord+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-discord+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-discord.svg b/src/gtk/icons/notifications/tether-notification-discord.svgnew file mode 100644index 0000000..287c831--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-discord.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#5865F2" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-facebook.desktop b/src/gtk/icons/notifications/tether-notification-facebook.desktopnew file mode 100644index 0000000..5758d64--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-facebook.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Facebook+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-facebook+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-facebook.svg b/src/gtk/icons/notifications/tether-notification-facebook.svgnew file mode 100644index 0000000..6366b78--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-facebook.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#0866FF" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-github.desktop b/src/gtk/icons/notifications/tether-notification-github.desktopnew file mode 100644index 0000000..824f2fe--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-github.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=GitHub+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-github+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-github.svg b/src/gtk/icons/notifications/tether-notification-github.svgnew file mode 100644index 0000000..503276c--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-github.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#181717" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-gmail.desktop b/src/gtk/icons/notifications/tether-notification-gmail.desktopnew file mode 100644index 0000000..67a5037--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-gmail.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Gmail+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-gmail+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-gmail.svg b/src/gtk/icons/notifications/tether-notification-gmail.svgnew file mode 100644index 0000000..7f3f4a9--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-gmail.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#EA4335" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Gmail</title><path d="M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-imessage.desktop b/src/gtk/icons/notifications/tether-notification-imessage.desktopnew file mode 100644index 0000000..9826608--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-imessage.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Messages+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-imessage+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-imessage.svg b/src/gtk/icons/notifications/tether-notification-imessage.svgnew file mode 100644index 0000000..02ac21e--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-imessage.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#34C759" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>iMessage</title><path d="M5.285 0A5.273 5.273 0 0 0 0 5.285v13.43A5.273 5.273 0 0 0 5.285 24h13.43A5.273 5.273 0 0 0 24 18.715V5.285A5.273 5.273 0 0 0 18.715 0ZM12 4.154a8.809 7.337 0 0 1 8.809 7.338A8.809 7.337 0 0 1 12 18.828a8.809 7.337 0 0 1-2.492-.303A8.656 7.337 0 0 1 5.93 19.93a9.929 7.337 0 0 0 1.54-2.155 8.809 7.337 0 0 1-4.279-6.283A8.809 7.337 0 0 1 12 4.154"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-instagram.desktop b/src/gtk/icons/notifications/tether-notification-instagram.desktopnew file mode 100644index 0000000..65c58c3--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-instagram.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Instagram+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-instagram+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-instagram.svg b/src/gtk/icons/notifications/tether-notification-instagram.svgnew file mode 100644index 0000000..c48a4a2--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-instagram.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#E4405F" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-mail.desktop b/src/gtk/icons/notifications/tether-notification-mail.desktopnew file mode 100644index 0000000..849ee6e--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-mail.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Mail+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-mail+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-mail.svg b/src/gtk/icons/notifications/tether-notification-mail.svgnew file mode 100644index 0000000..3f07724--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-mail.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">+ <rect x="3" y="7" width="42" height="34" rx="7" fill="#1684F8"/>+ <path d="M8 14 24 27 40 14" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>+ <path d="m8 36 12-11m20 11L28 25" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round"/>+</svg>diff --git a/src/gtk/icons/notifications/tether-notification-outlook.desktop b/src/gtk/icons/notifications/tether-notification-outlook.desktopnew file mode 100644index 0000000..424c4ae--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-outlook.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Outlook+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-outlook+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-outlook.svg b/src/gtk/icons/notifications/tether-notification-outlook.svgnew file mode 100644index 0000000..16e980b--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-outlook.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">+ <rect x="17" y="5" width="27" height="38" rx="5" fill="#0078D4"/>+ <path d="m18 15 12 9 12-9" fill="none" stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+ <rect x="4" y="12" width="22" height="24" rx="4" fill="#0A64AD"/>+ <path d="M15 17c-4 0-7 3-7 7s3 7 7 7 7-3 7-7-3-7-7-7Zm0 4c2 0 3 1 3 3s-1 3-3 3-3-1-3-3 1-3 3-3Z" fill="#fff"/>+</svg>diff --git a/src/gtk/icons/notifications/tether-notification-reddit.desktop b/src/gtk/icons/notifications/tether-notification-reddit.desktopnew file mode 100644index 0000000..ab553dc--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-reddit.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Reddit+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-reddit+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-reddit.svg b/src/gtk/icons/notifications/tether-notification-reddit.svgnew file mode 100644index 0000000..b46e209--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-reddit.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#FF4500" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Reddit</title><path d="M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-signal.desktop b/src/gtk/icons/notifications/tether-notification-signal.desktopnew file mode 100644index 0000000..ac8272a--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-signal.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Signal+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-signal+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-signal.svg b/src/gtk/icons/notifications/tether-notification-signal.svgnew file mode 100644index 0000000..daa452b--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-signal.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#3A76F0" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Signal</title><path d="M12 0q-.934 0-1.83.139l.17 1.111a11 11 0 0 1 3.32 0l.172-1.111A12 12 0 0 0 12 0M9.152.34A12 12 0 0 0 5.77 1.742l.584.961a10.8 10.8 0 0 1 3.066-1.27zm5.696 0-.268 1.094a10.8 10.8 0 0 1 3.066 1.27l.584-.962A12 12 0 0 0 14.848.34M12 2.25a9.75 9.75 0 0 0-8.539 14.459c.074.134.1.292.064.441l-1.013 4.338 4.338-1.013a.62.62 0 0 1 .441.064A9.7 9.7 0 0 0 12 21.75c5.385 0 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25m-7.092.068a12 12 0 0 0-2.59 2.59l.909.664a11 11 0 0 1 2.345-2.345zm14.184 0-.664.909a11 11 0 0 1 2.345 2.345l.909-.664a12 12 0 0 0-2.59-2.59M1.742 5.77A12 12 0 0 0 .34 9.152l1.094.268a10.8 10.8 0 0 1 1.269-3.066zm20.516 0-.961.584a10.8 10.8 0 0 1 1.27 3.066l1.093-.268a12 12 0 0 0-1.402-3.383M.138 10.168A12 12 0 0 0 0 12q0 .934.139 1.83l1.111-.17A11 11 0 0 1 1.125 12q0-.848.125-1.66zm23.723.002-1.111.17q.125.812.125 1.66c0 .848-.042 1.12-.125 1.66l1.111.172a12.1 12.1 0 0 0 0-3.662M1.434 14.58l-1.094.268a12 12 0 0 0 .96 2.591l-.265 1.14 1.096.255.36-1.539-.188-.365a10.8 10.8 0 0 1-.87-2.35m21.133 0a10.8 10.8 0 0 1-1.27 3.067l.962.584a12 12 0 0 0 1.402-3.383zm-1.793 3.848a11 11 0 0 1-2.345 2.345l.664.909a12 12 0 0 0 2.59-2.59zm-19.959 1.1L.357 21.48a1.8 1.8 0 0 0 2.162 2.161l1.954-.455-.256-1.095-1.953.455a.675.675 0 0 1-.81-.81l.454-1.954zm16.832 1.769a10.8 10.8 0 0 1-3.066 1.27l.268 1.093a12 12 0 0 0 3.382-1.402zm-10.94.213-1.54.36.256 1.095 1.139-.266c.814.415 1.683.74 2.591.961l.268-1.094a10.8 10.8 0 0 1-2.35-.869zm3.634 1.24-.172 1.111a12.1 12.1 0 0 0 3.662 0l-.17-1.111q-.812.125-1.66.125a11 11 0 0 1-1.66-.125"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-snapchat.desktop b/src/gtk/icons/notifications/tether-notification-snapchat.desktopnew file mode 100644index 0000000..d8f6388--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-snapchat.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Snapchat+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-snapchat+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-snapchat.svg b/src/gtk/icons/notifications/tether-notification-snapchat.svgnew file mode 100644index 0000000..0d02481--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-snapchat.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#FFC800" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Snapchat</title><path d="M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-spotify.desktop b/src/gtk/icons/notifications/tether-notification-spotify.desktopnew file mode 100644index 0000000..630a1dd--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-spotify.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Spotify+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-spotify+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-spotify.svg b/src/gtk/icons/notifications/tether-notification-spotify.svgnew file mode 100644index 0000000..e1490ee--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-spotify.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#1ED760" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Spotify</title><path d="M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-teams.desktop b/src/gtk/icons/notifications/tether-notification-teams.desktopnew file mode 100644index 0000000..cc93471--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-teams.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Microsoft Teams+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-teams+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-teams.svg b/src/gtk/icons/notifications/tether-notification-teams.svgnew file mode 100644index 0000000..d8cf211--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-teams.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">+ <rect x="18" y="13" width="27" height="28" rx="5" fill="#6264A7"/>+ <circle cx="38" cy="9" r="5" fill="#8B8CC7"/>+ <path d="M24 19h16v4h-6v14h-4V23h-6z" fill="#fff"/>+ <circle cx="12" cy="12" r="7" fill="#8B8CC7"/>+ <path d="M3 34c0-6 4-10 9-10s9 4 9 10v3H3z" fill="#464775"/>+</svg>diff --git a/src/gtk/icons/notifications/tether-notification-telegram.desktop b/src/gtk/icons/notifications/tether-notification-telegram.desktopnew file mode 100644index 0000000..26ea3e0--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-telegram.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=Telegram+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-telegram+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-telegram.svg b/src/gtk/icons/notifications/tether-notification-telegram.svgnew file mode 100644index 0000000..25c9601--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-telegram.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#26A5E4" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-tiktok.desktop b/src/gtk/icons/notifications/tether-notification-tiktok.desktopnew file mode 100644index 0000000..ce514d2--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-tiktok.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=TikTok+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-tiktok+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-tiktok.svg b/src/gtk/icons/notifications/tether-notification-tiktok.svgnew file mode 100644index 0000000..5419910--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-tiktok.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#000000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>TikTok</title><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-whatsapp.desktop b/src/gtk/icons/notifications/tether-notification-whatsapp.desktopnew file mode 100644index 0000000..3d7425e--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-whatsapp.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=WhatsApp+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-whatsapp+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-whatsapp.svg b/src/gtk/icons/notifications/tether-notification-whatsapp.svgnew file mode 100644index 0000000..1c429da--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-whatsapp.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#25D366" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>WhatsApp</title><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-x.desktop b/src/gtk/icons/notifications/tether-notification-x.desktopnew file mode 100644index 0000000..2baf27d--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-x.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=X+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-x+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-x.svg b/src/gtk/icons/notifications/tether-notification-x.svgnew file mode 100644index 0000000..cafa574--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-x.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#000000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>X</title><path d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"/></svg>\ No newline at end of filediff --git a/src/gtk/icons/notifications/tether-notification-youtube.desktop b/src/gtk/icons/notifications/tether-notification-youtube.desktopnew file mode 100644index 0000000..6d88388--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-youtube.desktop@@ -0,0 +1,9 @@+[Desktop Entry]+Type=Application+Name=YouTube+GenericName=Phone notification+Comment=Notification mirrored from a phone+Icon=tether-notification-youtube+Exec=tether-gtk+Terminal=false+NoDisplay=truediff --git a/src/gtk/icons/notifications/tether-notification-youtube.svg b/src/gtk/icons/notifications/tether-notification-youtube.svgnew file mode 100644index 0000000..06cf096--- /dev/null+++ b/src/gtk/icons/notifications/tether-notification-youtube.svg@@ -0,0 +1 @@+<svg width="48" height="48" fill="#FF0000" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>\ No newline at end of filediff --git a/test/test_ancs_notifications.cpp b/test/test_ancs_notifications.cppindex f21f558..ffdfe7e 100644--- a/test/test_ancs_notifications.cpp+++ b/test/test_ancs_notifications.cpp@@ -31,11 +31,29 @@ TEST(AncsIcons, PrefersTheAppOverItsCategory) {n.category = CategoryId::Social;const auto icons = icon_candidates(n);ASSERT_FALSE(icons.empty());- EXPECT_EQ(icons.front(), "instagram");+ EXPECT_EQ(icons.front(), "tether-notification-instagram");EXPECT_NE(std::find(icons.begin(), icons.end(), "internet-chat"), icons.end())<< "the category icon stands in for themes without brand logos";}+TEST(AncsIcons, UsesBundledIconsForCommonNotificationApps) {+ const std::vector<std::pair<std::string, std::string>> expected{+ {"com.apple.MobileSMS", "tether-notification-imessage"},+ {"com.apple.mobilemail", "tether-notification-mail"},+ {"com.burbn.instagram", "tether-notification-instagram"},+ {"com.github.stormbreaker.prod", "tether-notification-github"},+ {"com.google.Gmail", "tether-notification-gmail"},+ {"com.hammerandchisel.discord", "tether-notification-discord"},+ {"com.instructure.ios.CanvasStudent", "tether-notification-canvas"},+ {"com.microsoft.Office.Outlook", "tether-notification-outlook"},+ {"com.microsoft.teams", "tether-notification-teams"},+ };++ for (const auto& [app_id, icon] : expected) {+ EXPECT_EQ(icon_candidates(make(1, app_id)).front(), icon) << app_id;+ }+}+TEST(AncsIcons, FallsBackToTheCategoryForAnUnknownApp) {Notification n = make(2, "com.example.unheardof");n.category = CategoryId::Email;