Skip to content

HyprMac v0.27.0

Choose a tag to compare

@zacharytgray zacharytgray released this 23 Nov 15:30
· 134 commits to main since this release

What's Changed

Float and tile rules

  • Tell HyprMac to always float or always tile an app, or one kind of window
    inside it. A window rule matches the window's exact title or a part of it,
    and beats the rule for its app.
  • New Hypr+I opens a small card over the focused window. Pick a rule with
    the keyboard or the mouse: always float or tile the app, float or tile
    windows with this title, or forget the rule that covers it. A title row
    opens a title editor first; click the row again or press Return to apply it.
    Hypr+I is added to your keys only if nothing else uses it.
  • The menu bar has a Focused window section with the same rules.
  • When HyprMac can't tile a new window and leaves it floating, it asks once per
    app whether to always float windows like it.
  • Settings → General → Never tile is now Float and tile rules: one list,
    with a Float/Tile switch, a title editor and a remove button per rule.
  • Hypr+T now wins over rules. Floating or tiling one window by hand works
    even when a rule or Never tile covers it, until that window closes. Only a
    window that can't be resized to fit a tile still shakes. Retile All (Hypr+R)
    still tiles a window you floated by hand, as before.
  • A rule you change on this Mac applies to open windows right away. A change
    that arrives from iCloud, Nix or a hand edit reaches new windows, Hypr+T and
    Retile All (Hypr+R).
  • Thanks to @tioan for the request in #93.

Workspace homes per display setup

  • Settings → Layout → Per-Monitor Settings now remembers which workspaces live
    on which monitor separately for each set of connected displays. Your docked
    setup and your laptop on the road each keep their own mapping.
  • Thanks to @tioan for the request in #89.

Workspace names in the Compact menu bar

  • The Compact menu bar style now shows the current workspace's name from
    Settings → General → Workspace names. A name that is one letter or digit
    (A–Z, 0–9) takes the number's place in the badge. A longer name shows in
    full as text. A workspace without a name keeps its numbered badge.
  • Thanks to @dex157 for #92.

Function keys and backslash as the Hypr key

  • With F13–F20 or backslash as the Hypr key, Hypr chords work again. Before,
    each chord went to the app instead. Thanks to @mikaraunio for the report in
    #95.

Updates

  • The bottom of the Settings sidebar has a Check for Updates button. While
    an update waits, it becomes Show Update or Restart to Update. This
    helps when the menu bar item is hidden and HyprMac isn't in the Dock.
  • The build number now shows next to the version.
  • If Homebrew (brew upgrade --greedy), an MDM or another tool updates
    HyprMac, you can turn off the in-app updater. Run this, then quit and reopen
    HyprMac:
    defaults write com.zachgray.HyprMac HyprMacUpdatesManagedExternally -bool true
  • The menu and Settings → General → Updates then say "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.
  • Nix: new updatesManagedExternally option sets the same preference, for a
    copy that Nix didn't install.
  • Thanks to @tioan for #96 and the request in #87.

Fixes

  • Entering and leaving native full screen no longer moves windows on other
    workspaces, and windows keep their tile spot and Hypr+T choice. Before, a
    second window of the full-screen app could jump to the current workspace.
  • A window that closes and comes back with the same id, like Mail or Teams,
    gets the current float and tile rules again. A Hypr+T choice is forgotten
    when its window closes or its app quits.
  • A togglesplit, or any layout change, is much less likely to end
    half-applied when one app is slow to accept a resize. The undo now waits up
    to 250 ms for a slow write, which covers the slow apps we've seen.
  • A window whose new size would reach past the screen edge or into the Dock
    from where it stands is now moved first and then resized, so macOS doesn't
    cut the resize short. Thanks to @dex157 for the analysis and the fix in #99
    and #100.
  • An app's window no longer goes hidden for about a minute when the app is
    slow to answer Accessibility right after it recovers. Thanks to @tioan for
    the report and analysis in #98.
  • Focus follows mouse no longer moves focus while the pointer is over
    HyprMac's own menu bar panel.
  • Windows that report a stale position, like CARROT Weather's floating window,
    now get their focus border, outline and click focus in the right place. Drags
    on and around them work again.
  • Hypr+T on a window that refuses to resize no longer flickers it through two
    sizes. It shakes once; press it again within 5 seconds to try anyway.

Settings and docs cleanup

  • Keys → Reset to defaults now keeps a copy of your old config.json as
    config.json.replaced before it removes your app launchers and commands.
    If HyprMac can't keep that copy, it resets nothing. Reset all settings…
    works the same way.
  • Reset all appearance defaults now also resets Animate focus moves.
  • Reset all settings… now says what it resets, and that it keeps Show in
    Dock, Menu bar, Launch at login, iCloud sync and Updates.
  • Nix: new menuBarStyle option ("full", "compact" or "hidden"). The old
    showMenuBarIcon only worked on the first launch; it now maps to
    menuBarStyle and is deprecated.
  • docs/keybinds-and-actions.md has a full key reference for config.json,
    monitor-config.json and HyprMac's defaults preferences.
  • The README lists what to try when a window misbehaves.

Going back to an older version

  • An older HyprMac ignores floatingRules and drops it the next time it saves
    config.json. App tile rules and window rules are lost. Apps set to always
    float stay, because they live in Never tile. With iCloud sync on, any Mac
    still on an older version can do this, so update them all.
  • An older HyprMac also ignores workspaceMonitorsPerDisplaySet and drops it
    the next time it saves monitor-config.json. Workspace homes go back to
    workspaceMonitors, which may be an older mapping. This file is per Mac.
  • An older HyprMac ignores HyprMacUpdatesManagedExternally and turns the
    in-app updater back on.
  • An older HyprMac drops the Show Window Rules key the next time it saves
    config.json. Back on this version it comes back on Hypr+I when that key is
    free, so a custom key for it goes back to Hypr+I.

Full Changelog: v0.26.0...v0.27.0