Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

glazewm

> 编程语言
Open source

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

12.5K stars0 likes6 views
WebsiteGitHub

About

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

Key features

  • Simple YAML configuration
  • Multi-monitor support
  • Customizable rules for specific windows
  • Easy one-click installation
  • Integration with Zebar as a status bar

Installation

The latest version of GlazeWM is downloadable via releases. Zebar can optionally be installed as well via a checkbox during installation.

GlazeWM is also available through several package managers:

Winget

bash
winget install GlazeWM

Chocolatey

bash
choco install glazewm

Scoop

bash
scoop bucket add extras
scoop install extras/glazewm

Contributing

Help fix something that annoys you, or add a feature you've been wanting for a long time! Contributions are very welcome.

Local development and guidelines are available in the contributing guide.

Default keybindings

On the first launch of GlazeWM, a default configuration can optionally be generated.

Below is a cheat sheet of all available commands and their default keybindings.

Config documentation

The default config file is generated at %userprofile%\.glzr\glazewm\config.yaml.

To use a different config file location, you can launch the GlazeWM executable with the CLI argument --config="...", like so:

bash
./glazewm.exe start --config="C:\<PATH_TO_CONFIG>\config.yaml"

Or pass a value for the GLAZEWM_CONFIG_PATH environment variable:

bash
setx GLAZEWM_CONFIG_PATH "C:\<PATH_TO_CONFIG>\config.yaml"

With the benefit of using a custom path being that you can choose a different name for the config file, such as glazewm.yaml.

Config: General

…

Config: Keybindings

The available keyboard shortcuts can be customized via the keybindings option. A keybinding consists of one or more key combinations and one or more commands to run when pressed.

It's recommended to use the alt key for keybindings. The Windows key is unfortunately a pain to remap, since the OS reserves certain keybindings (e.g. lwin+l).

yaml
keybindings:
  # Command(s) to run.
  - commands: ["focus --workspace 1"]

    # Key combination(s) to trigger the keybinding.
    bindings: ["alt+1"]

  # Multiple commands can be run in a sequence (e.g. to move a window to a
  # workspace + focus workspace).
  - commands: ["move --workspace 1", "focus --workspace 1"]
    bindings: ["alt+shift+1"]

Full list of keys that can be used for keybindings:

Keys list
Key Description
a - z Alphabetical letter keys
0 - 9 Number keys
numpad0 - numpad9 Numerical keypad keys
f1 - f24 Function keys
shift Either left or right SHIFT key
lshift The left SHIFT key
rshift The right SHIFT key
control Either left or right CTRL key
lctrl The left CTRL key
rctrl The right CTRL key
alt Either left or right ALT key
lalt The left ALT key
ralt The right ALT key
lwin The left ⊞ Windows logo key
rwin The right ⊞ Windows logo key
space The spacebar key
escape The ESCAPE key
back The BACKSPACE key
tab The TAB key
enter The ENTER key
left The ← arrow key
right The → arrow key
up The ↑ arrow key
down The ↓ arrow key
num_lock The NUM LOCK key
scroll_lock The SCROLL LOCK key
caps_lock The CAPS LOCK key
page_up The PAGE UP key
page_down The PAGE DOWN key
insert The INSERT key
delete The DELETE key
end The END key
home The HOME key
print_screen The PRINT SCREEN key
multiply The * key (only on numpad)
add The + key (only on numpad)
subtract The - key (only on numpad)
decimal The DEL key (only on numpad)
divide The / key (only on numpad)
volume_up The volume up key
volume_down The volume down key
volume_mute The volume mute key
media_next_track The media next track key
media_prev_track The media prev track key
media_stop The media stop key
media_play_pause The media play/pause key
oem_semicolon The ;/: key on a US standard keyboard (varies by keyboard)
oem_question The //? key on a US standard keyboard (varies by keyboard)
oem_tilde The `/~ key on a US standard keyboard (varies by keyboard)
oem_open_brackets The [/{ key on a US standard keyboard (varies by keyboard)
oem_pipe The \/| key on a US standard keyboard (varies by keyboard)
oem_close_brackets The ]/} key on a US standard keyboard (varies by keyboard)
oem_quotes The '/" key on a US standard keyboard (varies by keyboard)
oem_8 The `/¬ key on a UK keyboard (varies by keyboard)
oem_102 The \/| key next to left Shift on ISO keyboards (varies by keyboard)
oem_plus The =/+ key on a US standard keyboard (varies by keyboard)
oem_comma The ,/< key on a US standard keyboard (varies by keyboard)
oem_minus The -/_ key on a US standard keyboard (varies by keyboard)
oem_period The ./> key on a US standard keyboard (varies by keyboard)
muhenkan The 無変換 (non-convert) key for Japanese keyboard layouts
henkan The 変換 (convert) key for Japanese keyboard layouts

If a key is not in the list above, it is likely still supported if you use its character in a keybinding (e.g. alt+å for the Norwegian Å character).

German and US international keyboards treat the right-side alt key differently. For these keyboard layouts, use ralt+ctrl instead of ralt to bind the right-side alt key.

Config: Gaps

The gaps between windows can be changed via the gaps property in the config file. Inner and outer gaps are set separately.

yaml
gaps:
  # Gap between adjacent windows.
  inner_gap: "20px"

  # Gap between windows and the screen edge.
  outer_gap:
    top: "20px"
    right: "20px"
    bottom: "20px"
    left: "20px"

Config: Workspaces

Workspaces need to be predefined via the workspaces property in the config file. A workspace is automatically assigned to each monitor on startup.

…

Config: Window rules

Commands can be run when a window is first launched. This is useful for adding window-specific behaviors like always starting a window as fullscreen or assigning to a specific workspace.

Windows can be targeted by their process, class, and title. Multiple matching criteria can be used together to target a window more precisely.

yaml
window_rules:
  - commands: ["move --workspace 1"]
    match:
      # Move browsers to workspace 1.
      - window_process: { regex: "msedge|brave|chrome" }

  - commands: ["ignore"]
    match:
      # Ignores any Zebar windows.
      - window_process: { equals: "zebar" }

      # Ignores picture-in-picture windows for browsers.
      # Note that *both* the title and class must match for the rule to run.
      - window_title: { regex: "[Pp]icture.in.[Pp]icture" }
        window_class: { regex: "Chrome_WidgetWin_1|MozillaDialogClass" }

Config: Window effects

Visual effects can be applied to windows via the window_effects option. Currently, colored borders are the only effect available with more to come in the future.

Note: Window effects are exclusive to Windows 11.

yaml
window_effects:
  # Visual effects to apply to the focused window.
  focused_window:
    # Highlight the window with a colored border.
    border:
      enabled: true
      color: "#0000ff"

  # Visual effects to apply to non-focused windows.
  other_windows:
    border:
      enabled: false
      color: "#d3d3d3"

Config: Window behavior

The window_behavior config option exists to customize the states that a window can be in (tiling, floating, minimized, and fullscreen).

…

Config: Binding modes

Binding modes are used to modify keybindings while GlazeWM is running.

A binding mode can be enabled with wm-enable-binding-mode --name <NAME> and disabled with wm-disable-binding-mode --name <NAME>.

yaml
binding_modes:
  # When enabled, the focused window can be resized via arrow keys or HJKL.
  - name: "resize"
    keybindings:

Issues· 413 open

View all issuesOpen on GitHub
  • #1146

    Microsoft Store Support

    type: featureUpdated Sep 24, 2026
  • #957

    [Feature Request] Add CLI commands to enable/disable focus_follows_cursor and cursor_jump

    type: featureUpdated Sep 22, 2026
  • #1438

    [Bug] fatal crash with 3.10.1.0; possibly due to occasional inability to query `IApplicationViewCollection`

    type: bugUpdated Sep 22, 2026
  • #1243

    [Bug] Firefox behavior for web links

    type: bugUpdated Sep 21, 2026
  • #1421

    [Feature Request] transparency effect on unfocused windows except browser AND focused window.

    type: featureUpdated Sep 20, 2026
  • #1394

    [Bug] Taskbar still shows apps from all workspaces when taskbar hiding is enabled

    type: bugUpdated Sep 20, 2026
  • #1358

    [Bug] Clicking native minimize can make windows disappear permanently until manually uncloaked via IApplicationView

    type: bugUpdated Sep 19, 2026
  • #1039

    [Feature Request] Scrollable tiling like Niri or PaperWM

    type: featureUpdated Sep 16, 2026
  • #44

    [Feature Request] Manage WSL applications

    type: featurehelp wantedUpdated Sep 9, 2026
  • #1055

    Floating windows all come to front together when activating one, instead of only the selected window

    type: featureUpdated Sep 8, 2026

> Tags

Rusti3wmmacosrusttiling-window-manager

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言