From a8e34c822a6e1cbe87b5a1f1cdb3db2b528e903e Mon Sep 17 00:00:00 2001 From: Celve Date: Tue, 3 Dec 2024 21:24:39 -0800 Subject: [PATCH] fix: remove Peninsula icon in app list --- Peninsula/Notch/NotchWindow.swift | 6 +++--- Peninsula/Switch/Model/Applications.swift | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Peninsula/Notch/NotchWindow.swift b/Peninsula/Notch/NotchWindow.swift index 56f2e8c..4ed581b 100644 --- a/Peninsula/Notch/NotchWindow.swift +++ b/Peninsula/Notch/NotchWindow.swift @@ -21,7 +21,7 @@ class NotchWindow: NSWindow { defer: flag ) - title = "Test" + title = "Peninsula" isOpaque = false alphaValue = 1 titleVisibility = .hidden @@ -34,12 +34,12 @@ class NotchWindow: NSWindow { .canJoinAllSpaces, .ignoresCycle, ] - level = .statusBar // kills ibar lol + level = .statusBar // kills ibar lol hasShadow = false makeKey() makeKeyAndOrderFront(nil) } - + override var canBecomeKey: Bool { true } diff --git a/Peninsula/Switch/Model/Applications.swift b/Peninsula/Switch/Model/Applications.swift index 661907c..41f2879 100644 --- a/Peninsula/Switch/Model/Applications.swift +++ b/Peninsula/Switch/Model/Applications.swift @@ -28,7 +28,7 @@ class Applications: ObservableObject { let runningApplications = NSWorkspace.shared.runningApplications runningApplications.forEach { if !$0.processIdentifier.isZombie() && isNotXpc($0) { - if let name = $0.localizedName, name != "Island" { + if let name = $0.localizedName, name != "Peninsula" { inner.append(Application(runningApplication: $0)) } }