From af6c9a2d34075a2253cde82303a05fa0bfd8f8ec Mon Sep 17 00:00:00 2001 From: Jacob Fu <141651335+FuJacob@users.noreply.github.com> Date: Mon, 25 May 2026 03:04:45 -0700 Subject: [PATCH 1/2] Reorder menu bar toggles and clarify their labels Move the per-app enable/disable toggle directly under "Enable Globally" so both scope controls sit together. Rename "Show Indicator" to "Show Cotabby Indicator" and relabel the multi-line toggle to "Allow Multi-line Suggestions", moving it up beneath the indicator toggle next to the other behavior switches instead of trailing the engine/model/length pickers. --- Cotabby/UI/MenuBarView.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Cotabby/UI/MenuBarView.swift b/Cotabby/UI/MenuBarView.swift index c9371a1..1e89d4b 100644 --- a/Cotabby/UI/MenuBarView.swift +++ b/Cotabby/UI/MenuBarView.swift @@ -75,10 +75,6 @@ struct MenuBarView: View { .toggleStyle(.switch) .controlSize(.small) - Toggle("Include Clipboard Context", isOn: clipboardContextEnabledBinding) - .toggleStyle(.switch) - .controlSize(.small) - if let application = focusModel.latestExternalApplication, !TerminalAppDetector.isTerminal(bundleIdentifier: application.bundleIdentifier) { Toggle("Enable in \(application.applicationName)", isOn: appEnabledBinding(for: application)) @@ -86,7 +82,15 @@ struct MenuBarView: View { .controlSize(.small) } - Toggle("Show Indicator", isOn: showIndicatorBinding) + Toggle("Include Clipboard Context", isOn: clipboardContextEnabledBinding) + .toggleStyle(.switch) + .controlSize(.small) + + Toggle("Show Cotabby Indicator", isOn: showIndicatorBinding) + .toggleStyle(.switch) + .controlSize(.small) + + Toggle("Allow Multi-line Suggestions", isOn: multiLineEnabledBinding) .toggleStyle(.switch) .controlSize(.small) @@ -122,10 +126,6 @@ struct MenuBarView: View { .labelsHidden() .pickerStyle(.menu) } - - Toggle("Multi-line", isOn: multiLineEnabledBinding) - .toggleStyle(.switch) - .controlSize(.small) } .padding(.bottom, 12) } From 861999e68f98c104b107e12fcb2a70ab11e3f21a Mon Sep 17 00:00:00 2001 From: Jacob Fu <141651335+FuJacob@users.noreply.github.com> Date: Mon, 25 May 2026 03:07:49 -0700 Subject: [PATCH 2/2] Add Support section linking to Buy Me a Coffee Add a Support section to the settings window directly above Updates with a link to https://buymeacoffee.com/cotabby, and restore the Buy Me a Coffee button in the README (removed in an earlier cleanup) using the new Cotabby link. --- Cotabby/UI/SettingsView.swift | 13 +++++++++++++ README.md | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/Cotabby/UI/SettingsView.swift b/Cotabby/UI/SettingsView.swift index 9674fc1..b7695a6 100644 --- a/Cotabby/UI/SettingsView.swift +++ b/Cotabby/UI/SettingsView.swift @@ -30,6 +30,7 @@ struct SettingsView: View { var body: some View { Form { settingsHeader + supportSection updatesSection uninstallSection generalSection @@ -413,6 +414,18 @@ struct SettingsView: View { } } + @ViewBuilder + private var supportSection: some View { + Section("Support") { + LabeledContent { + Link("Buy Me a Coffee", destination: URL(string: "https://buymeacoffee.com/cotabby")!) + } label: { + Text("Cotabby is free and open source. If it's useful to you, consider supporting development.") + .foregroundStyle(.secondary) + } + } + } + @ViewBuilder private var updatesSection: some View { Section("Updates") { diff --git a/README.md b/README.md index 25fd477..683deef 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,12 @@ Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, bui - Swift, SwiftUI, and AppKit, which together make the menu bar app, overlays, and settings UI possible - Everyone who has filed issues, tested prereleases, and contributed pull requests +## Support + +If Cotabby is useful to you, consider buying us a coffee: + +Buy Me A Coffee + ## Built by @FuJacob and @jam-cai