Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: show screenpipe icon in notification panel header

Louis Beaumontaa770b5d58cf
diff --git a/apps/screenpipe-app-tauri/app/notification-panel/page.tsx b/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
index 50cc95168..342877087 100644
--- a/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
+++ b/apps/screenpipe-app-tauri/app/notification-panel/page.tsx
@@ -374,6 +374,9 @@ export default function NotificationPanelPage() {
>
<span
style={{
+ display: "flex",
+ alignItems: "center",
+ gap: "6px",
fontSize: "10px",
fontWeight: 500,
letterSpacing: "0.05em",
@@ -381,6 +384,8 @@ export default function NotificationPanelPage() {
textTransform: "lowercase",
}}
>
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+ <img src="/32x32.png" alt="" width={14} height={14} style={{ borderRadius: "3px" }} />
screenpipe
</span>
<button
diff --git a/apps/screenpipe-app-tauri/public/32x32.png b/apps/screenpipe-app-tauri/public/32x32.png
new file mode 100644
index 000000000..0efd554af
Binary files /dev/null and b/apps/screenpipe-app-tauri/public/32x32.png differ
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
index 96c02c6e9..5333eebe0 100644
--- a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
+++ b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
@@ -232,7 +232,13 @@ struct NotificationContentView: View {
var body: some View {
VStack(alignment: .leading, spacing: 0) {
// Header
- HStack {
+ HStack(spacing: 6) {
+ // App icon
+ if let appIcon = NSApp.applicationIconImage {
+ Image(nsImage: appIcon)
+ .resizable()
+ .frame(width: 14, height: 14)
+ }
Text("screenpipe")
.font(Brand.swiftUIMonoFont(size: 10, weight: .medium))
.foregroundColor(.primary.opacity(0.4))