Skip to content

Commit

Permalink
fix: remove Peninsula icon in app list
Browse files Browse the repository at this point in the history
  • Loading branch information
Celve committed Dec 4, 2024
1 parent fdfc8a3 commit a8e34c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Peninsula/Notch/NotchWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NotchWindow: NSWindow {
defer: flag
)

title = "Test"
title = "Peninsula"
isOpaque = false
alphaValue = 1
titleVisibility = .hidden
Expand All @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion Peninsula/Switch/Model/Applications.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
Expand Down

0 comments on commit a8e34c8

Please sign in to comment.