Skip to content

Commit

Permalink
Uppercase mode indicator
Browse files Browse the repository at this point in the history
After recent change that shows the indicator in monospaced, lowercase
indicator looks weird together with Uppercase workspace names
  • Loading branch information
nikitabobko committed Jan 19, 2025
1 parent cb153ff commit dbd39fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AppBundle/TrayMenuModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class TrayMenuModel: ObservableObject {
func updateTrayText() {
let sortedMonitors = sortedMonitors
let focus = focus
TrayMenuModel.shared.trayText = (activeMode?.takeIf { $0 != mainModeId }?.first?.lets { "[\($0)] " } ?? "") +
TrayMenuModel.shared.trayText = (activeMode?.takeIf { $0 != mainModeId }?.first?.lets { "[\($0.uppercased())] " } ?? "") +
sortedMonitors
.map {
($0.activeWorkspace == focus.workspace && sortedMonitors.count > 1 ? "*" : "") + $0.activeWorkspace.name
Expand Down

0 comments on commit dbd39fd

Please sign in to comment.