Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .hack/hack.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"dev_host": "hack-cli.hack",
"controlPlane": {
"extensions": {
"dance.hack.tickets": { "enabled": true }
"dance.hack.tickets": {
"enabled": true
}
}
}
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ hack daemon logs
On macOS, you can install `hackd` as a launchd service for automatic management:

```bash
# Install with auto-start on login
hack daemon install --run-at-load
# Install (auto-start on login by default)
hack daemon install

# Install without auto-start (manual start/stop via launchd)
hack daemon install
hack daemon install --no-run-at-load

# Uninstall the launchd service
hack daemon uninstall
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public struct DashboardView: View {
@Bindable var model = model

GeometryReader { proxy in
ZStack {
ZStack(alignment: .top) {
VSplitView {
ZStack {
mainSplitView
Expand Down Expand Up @@ -67,6 +67,11 @@ public struct DashboardView: View {
.background(alignment: .top) {
topHeaderChrome
}
GlobalStatusStrip(placement: .titlebar)
.frame(maxWidth: .infinity, alignment: .center)
.padding(.top, 8)
.offset(y: -48)
.zIndex(16)
}
// Attach toolbar at the window root. Nested toolbars inside split views can disappear
// when additional container views are introduced (e.g. a bottom terminal panel).
Expand Down Expand Up @@ -99,10 +104,6 @@ public struct DashboardView: View {
}
}
}
ToolbarItem(placement: .principal) {
GlobalStatusStrip(placement: .titlebar)
.frame(maxWidth: .infinity, alignment: .center)
}
ToolbarItemGroup(placement: .primaryAction) {
ToolbarIconButton(
systemImage: "gearshape",
Expand Down Expand Up @@ -312,21 +313,11 @@ public struct DashboardView: View {
}

private var titlebarNeutralIconTint: NSColor {
titlebarIconTint(lightOpacity: 0.72, darkOpacity: 0.90)
NSColor.labelColor.withAlphaComponent(0.84)
}

private var titlebarNeutralIconHoverTint: NSColor {
titlebarIconTint(lightOpacity: 0.86, darkOpacity: 1.0)
}

private func titlebarIconTint(lightOpacity: CGFloat, darkOpacity: CGFloat) -> NSColor {
NSColor(name: nil) { appearance in
let isDark = appearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
if isDark {
return NSColor.white.withAlphaComponent(darkOpacity)
}
return NSColor.black.withAlphaComponent(lightOpacity)
}
NSColor.labelColor
}

private var shouldShowGlobalRecoveryOverlay: Bool {
Expand Down
Loading
Loading