zacharytgray/HyprMac
소개
macOS용 Hyprland 스타일 타일링 윈도우 매니저: 자동 드윈들(BSP) 레이아웃, 10개의 워크스페이스, 키보드 우선 조작, SIP는 계속 활성화
생산성 및 자동화측정된 스타 증가
- in 24h
- +4
- in 7 days
- +28
- in 15 days
- +116
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Tile your Mac from the keyboard.
A keyboard-driven tiling window manager for macOS, inspired by Hyprland.
Windows tile themselves in a dwindle (BSP) layout. macOS 13+, Apple silicon and Intel, SIP stays on.
Free, open source, and the first real job your Caps Lock key has ever had.
Install
Features
Keys
Docs
hyprmac.app
▶ Watch the one-minute demo · Try it in your browser · Download for macOS
What it does
If your Mac usually looks like a pile of windows stacked on top of each other, and the one you want is always at the bottom, HyprMac is for you. Hold one key, tap another, and the desktop does what you asked.
Windows arrange themselvesOpen an app and it slots into a tidy tiled layout. No dragging, no resizing, no digging. |
Your keyboard drivesHypr + an arrow moves between windows. Add Shift to swap them. Hypr + J flips a split. |
Ten workspacesHypr + a number jumps to a workspace. Add Shift to send the focused window there. |
A scratchpad one key awayKeep music or notes on a floating layer. Hypr + S brings it up and puts it away. |
10workspaces |
60+default shortcuts,all remappable |
14choices forthe Hypr key |
1,900+unit tests |
60+releases sinceApril 2026 |
The five keys to know
The Hypr key is Caps Lock out of the box. Hold it like a modifier.
| Keys | What happens |
|---|---|
| Hypr + ← → ↑ ↓ | Move between windows |
| Hypr + Shift + ← → ↑ ↓ | Swap windows around |
| Hypr + 1–9, 0 | Jump to workspace 1–9, or 10 |
| Hypr + Return | Open Terminal |
| Hypr + K | Show every keybind |
Most people have these down in a few minutes. Forgot one? Hypr + K lists every shortcut, and you can type to filter it. When you want more, every keybind is remappable and you can point keys at your own scripts.
Install
brew install --cask hyprmac
No Homebrew? Download HyprMac.dmg, open it, and drag HyprMac to Applications. Older versions are on the releases page. Using Nix or Home Manager on macOS? See Nix and Home Manager.
Then follow the install guide for first-run setup, permissions, and the recommended macOS settings. On first launch, a short setup grants access, picks your Hypr key and sets a few choices. An optional tutorial, about 5 minutes, then teaches the keys on practice windows, so your own windows aren't touched.
Beta
New features go to a beta first. Stable gets them once they've settled, and moves more slowly. To try them early, turn on Get beta updates in Settings → General → Updates. Turn it off again and you keep the beta you have until the next stable release updates you. Download Stable, shown there while you run a beta, goes back right away.
From the first beta on, Homebrew has brew install --cask zacharytgray/hyprmac/hyprmac@beta
(uninstall hyprmac first), and Nix has packages.<system>.hyprmac-beta.
Requirements
- macOS 13 (Ventura) or later, on Apple silicon or Intel.
- Accessibility permission, in System Settings → Privacy & Security → Accessibility.
- Nothing else. System Integrity Protection stays on.
[!IMPORTANT] With Caps Lock as your Hypr key, leave Caps Lock set to "⇪ Caps Lock" in System Settings → Keyboard → Keyboard Shortcuts → Modifier Keys. Do not set it to "No Action". The pane is per keyboard, so check each one you use. HyprMac remaps Caps Lock to F18 itself.
Choosing a different Hypr key
Settings → Keys offers 14 choices: Caps Lock, backslash, F13–F20, and Option or Command on either side.
- Still want Caps Lock now and then? Tap the Hypr key twice quickly. New installs have Double-tap Hypr to toggle Caps Lock on; older setups turn it on in Settings → Keys. It does not work in password fields, where macOS hides keys from HyprMac. Pausing tiling also gives Caps Lock back.
- If Option or Command is your Hypr key, leave it on its default in the Modifier Keys pane too. Backslash and F13–F20 are not in that pane and need nothing.
- If you pick the left Option or Command key, that key plus a key HyprMac uses goes to HyprMac. Type shortcuts like ⌘S or ⌘T with the right-hand key.
- Shift and Control are not offered because many default shortcuts add them to Hypr. Tab and backtick are not offered because Hypr+Tab, Hypr+Shift+Tab, and Hypr+` are default shortcuts. A config that already uses one of these keys keeps working, and Settings → Keys says why it is no longer recommended.
- macOS gives apps no way to read the Modifier Keys setting, so HyprMac shows a reminder in onboarding and in Settings → Keys, with an Open Keyboard Settings button.
More than tiling
|
Focus you can see Inactive windows dim. Corner brackets mark the focused window while you hold Hypr, and they glide to the next one when focus moves. |
Drag with a preview Drag a window onto a tile's edge to insert it there. Hold Hypr while dragging to swap. A highlight shows where it will land. |
Every monitor Each workspace has a home monitor. Hypr + Ctrl + an arrow sends a window to the next display. |
|
Overview Hypr + O shows every workspace and what is on it. Name your workspaces and the names show up there. |
Maximize and float Hypr + F fills the display and puts the window back. Hypr + T floats a window above the tiles. |
Pin apps Send an app to the same workspace every time it opens, or to the scratchpad. Keep other apps out of tiling entirely. |
|
Saved layouts Save a layout for the displays you have connected. HyprMac restores it when you plug the same displays back in. |
Settings, not dotfiles Gaps, focus look, keybinds and the Hypr key all live in a Settings window. The same settings are plain JSON on disk if you want them. |
Your own tools Bind a key to any script. Drive HyprMac from Raycast or BetterTouchTool with hyprmac:// links. Feed sketchybar from state.json.
|
HyprMac is a signed and notarized universal app. It updates itself through Sparkle.
For Hyprland folks
You'll feel at home. The differences are mostly macOS being macOS.
| In Hyprland | In HyprMac |
|---|---|
| Dwindle layout | BSP dwindle. New windows split the focused one, and Hypr + J flips the split direction. |
| Workspaces | Ten virtual workspaces on keys 1–9 and 0. macOS has no public API for this, so HyprMac keeps its own and hides the other workspaces' windows when you switch. |
| Special workspace | The scratchpad, on Hypr + S. |
| Fullscreen | Hypr + F fills the display over the workspace. Native macOS fullscreen spawns its own Space and wrecks the layout, so HyprMac does not use it. |
follow_mouse |
Focus follows mouse, on by default, with an adjustable hover rate. |
SUPER |
The Hypr key. Caps Lock by default. |
hyprland.conf |
Settings, saved as JSON at ~/Library/Application Support/HyprMac/config.json. The schema is in Keybinds and actions. |
exec binds |
Settings → Keys → Add → Command… binds a chord to any program or script. It runs directly, not through a shell, so keep pipes and redirects inside a script. |
hyprctl dispatch |
hyprmac://action/… links, once you turn on "Allow other apps to control HyprMac". |
Dragging works too. Drag a tiled window by its title bar onto another tile's edge to insert it there, or hold Hypr while dragging to swap the two. The tile can be on another monitor, and an empty workspace there takes the window whole.
Choosing a Mac tiler
HyprMac is for you if you want Hyprland's dwindle layout, a Settings window instead of dotfiles, and SIP left on, on macOS 13 or later on either chip. Other good tools fit other people:
- AeroSpace for i3-style trees, a TOML config and a CLI.
- yabai for BSP on native Spaces and deep shell scripting. Some features need SIP partly disabled.
- OmniWM for dwindle plus Niri-style scrolling, on Apple silicon with macOS 26 or later.
- Amethyst for xmonad-style layouts.
The full comparison has a side-by-side table with a source for every claim.
Reference
All default keybinds
Everything below is configurable in Settings → Keys. The full reference lives at hyprmac.app/guides/keybinds.
| Shortcut | Action |
|---|---|
Hypr + ←/→/↑/↓ |
Focus window in direction |
Hypr + Shift + ←/→/↑/↓ |
Swap window in direction |
Hypr + Ctrl + ←/→/↑/↓ |
Move window to the adjacent monitor in that direction |
Hypr + Ctrl + Shift + ←/→/↑/↓ |
Resize focused window in direction |
Hypr + 1–9 / Hypr + 0 |
Switch to workspace 1–9 / workspace 10 |
Hypr + Shift + 1–9 / Hypr + Shift + 0 |
Move window to workspace 1–9 / workspace 10 |
Hypr + Ctrl + Shift + 1–9 / Hypr + Ctrl + Shift + 0 |
Move window to workspace 1–9 / 10 and switch there with it |
Hypr + Tab / Hypr + Shift + Tab |
Cycle occupied workspaces on this monitor |
Hypr + F |
Maximize the window, or put it back |
Hypr + T |
Toggle floating and tiled |
Hypr + Shift + T |
Cycle focus through floating windows |
Hypr + J |
Toggle split direction |
Hypr + S / Hypr + Shift + S |
Toggle scratchpad / send window to scratchpad |
Hypr + W |
Close window |
Hypr + P |
Pause tiling. While paused, Caps Lock is a normal Caps Lock again, so resume from the menu bar. With F13 to F20 or a modifier as the Hypr key, Hypr + P also resumes |
Hypr + K |
Show the keybind overlay |
Hypr + I |
Window rules for the focused window |
Hypr + O |
Show workspace overview |
Hypr + Ctrl + S / Hypr + Ctrl + R |
Save / restore the layout for this display setup |
Hypr + R |
Retile all spaces (also applies workspace pins) |
Hypr + Return |
Launch or focus Terminal |
Hypr + ` |
Warp the cursor to the menu bar |
Pinning apps to workspaces
Settings → Workspaces → "Pin apps" sends an app to a workspace of your choice, or to the scratchpad. Every new window of a pinned app opens there, and HyprMac shows it. An app pinned to the scratchpad also goes back there at launch and on Hypr + R, with the scratchpad left closed. If a pinned workspace is full, the window goes to the next one with room. Hypr + R (Retile all spaces) also moves a pinned app's open windows back to its workspace. An app that always floats can be pinned too: it goes to its workspace and stays floating.
Float and tile rules
Settings → Tiling → "Float and tile rules" lists which apps, and which kinds of window inside an app, always float or always tile. A rule for one kind of window beats a rule for its app. Make one from the window itself with Hypr + I: a small panel over the focused window offers to always float or tile all of the app's windows, always float or tile windows whose title is or contains text you trim from this window's title (for meeting windows whose title carries the meeting's name), or forget the rule that covers it. The menu bar's "Focused window" section has the app rules and opens the same panel. Windows that stay on top of others, like picture in picture, are never tiled and need no rule.
You always win: Hypr + T floats or tiles a window by hand whatever the rules say, Never tile included, and the rules leave that window alone until it closes. Only a window that can't take a tile shakes red. When HyprMac tries to tile a new window and can't, it floats it and asks once per app whether to always float windows like it.
Saved layouts
Hypr + Ctrl + S saves which workspace each tiled window is on and how each workspace is split, across every monitor, for the displays you have connected right now. Hypr + Ctrl + R puts all of it back. Restore only moves windows that are open; it doesn't reopen closed apps, and a saved window that isn't open is skipped. A HUD like the workspace switch one says whether the layout was saved, restored, or only partly restored.
HyprMac also saves on its own just before your displays change, and restores when you return to a display setup it has saved. To restore at launch too, turn on "Restore saved layout at launch" in Settings → General → Startup.
Saved layouts stay on this Mac in ~/Library/Application Support/HyprMac/layout-snapshots.json.
The file keeps window titles so it can tell windows apart. To clear it, quit HyprMac and delete
the file, plus layout-snapshots.json.unreadable if it exists. Setups with the same monitor
models at the same resolutions share one saved layout, however they are arranged.
Config file and updates
Every setting, including the Hypr key itself, is in Settings. Search from the top of its
sidebar. Most are saved as JSON at
~/Library/Application Support/HyprMac/config.json. A config file HyprMac can't decode is
copied to config.json.unreadable before a save overwrites it.
HyprMac lives in the menu bar and stays out of the Dock. Settings → General → Menu bar and Dock can add a Dock icon and pick the menu bar style. Full shows every workspace in use. Compact shows one workspace: the one you just switched to, then the focused window's workspace. With nothing focused, it shows the workspace on the monitor under the pointer. The badge shows the workspace number, or its name from Workspace names when that is one Latin letter or digit (SF Symbols has badge symbols only for those). Any other name shows in full as text. Hidden removes the item. Opening HyprMac again from Spotlight or Finder, or clicking its Dock icon, opens Settings.
HyprMac keeps itself up to date through Sparkle. It checks once a day and downloads a new version in the background. A dot on the menu bar icon says one is ready, and the menu has "Restart to update". If you don't click it, the update installs when you quit HyprMac, or once the Mac has been idle for five minutes: HyprMac restarts and puts your workspaces back. Both are on for a new install. Settings → General → Updates turns either one off, and a choice you made in an older version is kept. The Accessibility permission carries over.
The Settings sidebar shows the running version and a "Check for Updates" button. When an update is waiting, the button becomes "Show Update" or "Restart to Update". That works with the menu bar item hidden.
Homebrew installs update the same way, so brew upgrade leaves HyprMac alone unless you pass
--greedy. A copy installed by Nix is updated by Nix.
If something else updates your copy, such as brew upgrade --greedy, an MDM, or a custom app
folder, turn off the in-app updater and quit and reopen HyprMac:
defaults write com.zachgray.HyprMac HyprMacUpdatesManagedExternally -bool true
The menu and Settings → General → Updates then show "Updates are managed by your package
manager", and the sidebar's "Check for Updates" button goes away. The Updates panel shows the
command that turns the updater back on, with a "Copy command" button:
defaults delete com.zachgray.HyprMac HyprMacUpdatesManagedExternally, then quit and reopen
HyprMac.
Build from source
git clone https://github.com/zacharytgray/HyprMac.git
cd HyprMac
brew install xcodegen
xcodegen generate
export DEVELOPMENT_TEAM=YOUR_TEAM_ID
xcodebuild -project HyprMac.xcodeproj -scheme HyprMac -configuration Debug \
-derivedDataPath build DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM build
cp -r build/Build/Products/Debug/HyprMac.app /Applications/
The reality of macOS
macOS was not built to let other apps manage its windows, and every tiling window manager on the Mac is working against that. Some apps push back, and now and then a window will insist on doing its own thing. HyprMac is in active development and very usable day to day. When something misbehaves, open an issue and tell me about it.
When a window misbehaves, these usually fix it:
- Hypr + I sets a permanent float or tile rule for that app, or for that kind of window.
- Hypr + T floats or tiles just that window.
- Hypr + Shift + T focuses a floating window, and cycles through them when pressed again.
- Hypr + R retiles everything.
Why I built it
I use Hyprland on Linux and wanted the same workflow on my Mac. Reaching for the mouse to find a window is a small cost paid hundreds of times a day, so I built HyprMac to remove it. I rely on it every day.
Docs
- Architecture: subsystems, ownership rules, threading
- Tiling algorithm: BSP dwindle, smart insert, two-pass layout
- Keybinds and actions: the
Actionenum and its JSON schema - Status bars:
state.json, the change hook andhyprmac://links for sketchybar, turned on by hand inmonitor-config.json - Control from other apps:
hyprmac://action/…links for BetterTouchTool, Raycast and scripts - Nix and Home Manager: flake package, overlay, and declarative
programs.hyprmacsetup on macOS - Debugging: Console filters, verbose logging, common recipes
- Release pipeline: how a release is built, signed, and published
Contributing
Bug reports, ideas, and pull requests are all welcome. Before you open a pull request, run the test gate:
./scripts/test-isolated.sh --debug-variant
Inspired by
- Hyprland: the Wayland compositor this project takes after
- yabai: macOS tiling window manager
- AeroSpace: Swift tiling window manager with virtual workspaces
- Amethyst: macOS tiling window manager
- skhd: hotkey daemon
License
관련 프로젝트 살펴보기
불러오는 중…