nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.56k stars 124 forks source link

Monospace menubar #685

Closed frostplexx closed 1 week ago

frostplexx commented 1 week ago

This PR addresses issue #56 by introducing three new options:

# Font size for menu bar
font-size = 12.0

# Font family for the menu bar items
# Use the Font Book to find fonts
font-family = 'JetBrainsMono Nerd Font Mono'

# Possible values: icon|horizontal_full|horizontal_min
# icon: shows only the current workspace
# horizontal_full: shows all workspaces, with the current one highlighted
# horizontal_min: shows all workspaces with open windows,and the current one
workspace-indicator-style = 'icon'

To accomplish this, I had to rewrite all menu bar items to use AppKit, as pure SwiftUI lacks the capability to display arbitrary views.

Here are some pictures demonstrating the feature in action:

image image image image
cvlvxi commented 1 week ago

Can we get a video demo? This seems pretty interesting

frostplexx commented 1 week ago

https://github.com/user-attachments/assets/4041861f-58e7-4ae1-9c6e-9d03ecac1150

Emojis are pushed to the end, which is the same behavior that exists.