1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-09 01:35:39 +03:00
wezterm/config
Wez Furlong 2b298f5f96
mux: pass gui window position through from new mux window
Threads through a GuiPosition from mux window creation to allow it to be
used when the corresponding gui window is created.

SpawnCommand now has an optional position field to use for that purpose.

```lua
wezterm.mux.spawn_window {
  position = {
    x = 10,
    y = 300,
    -- Optional origin to use for x and y.
    -- Possible values:
    -- * "ScreenCoordinateSystem" (this is the default)
    -- * "MainScreen" (the primary or main screen)
    -- * "ActiveScreen" (whichever screen hosts the active/focused window)
    -- * {Named="HDMI-1"} - uses a screen by name. See wezterm.gui.screens()
    -- origin = "ScreenCoordinateSystem"
  },
}
```

refs: https://github.com/wez/wezterm/issues/2976
2023-02-05 21:43:37 -07:00
..
derive config: derive some metadata about the config 2022-09-22 06:09:31 -07:00
src mux: pass gui window position through from new mux window 2023-02-05 21:43:37 -07:00
build.rs colorschemes: expand to include Gogh color schemes 2022-07-10 13:32:17 -07:00
Cargo.toml Add wezterm.plugin module, allows loading modules from git 2023-01-31 20:07:42 -07:00