Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wezterm always starts as floating window in 0.22.0 #1706

Open
smartding opened this issue Dec 24, 2024 · 0 comments
Open

wezterm always starts as floating window in 0.22.0 #1706

smartding opened this issue Dec 24, 2024 · 0 comments

Comments

@smartding
Copy link

smartding commented Dec 24, 2024

Describe the bug
wezterm always starts as floating window in 0.22.0. Although I can toggle floating state of wezterm and make it a tiled window.
All the other terminal emulators work as expected, including alacritty, iterm2.

The issue happens when I have the following wezterm configuration, but is gone if the configuration is removed:

config.window_decorations = "NONE"

Applications:
wezterm, the terminal emulator

To Reproduce

  1. Run wezterm from spotlight

Expected behavior
wezterm should start as a tiled window

Versions:

  • macOS: 15.1 (24B2083)
  • Amethyst: 0.22.0(119)

Debug Info

Version: 0.22.0 (119)

OS version: Version 15.1 (Build 24B2083)

Screens:
        (0.0, 0.0, 1920.0, 1080.0) [(0.0, 0.0, 1920.0, 1080.0)]

Configuration:
screen-padding-bottom: 0
focus-follows-mouse: 0
float-small-windows: 1
use-canary-build: 0
screen-padding-left: 0
screen-padding-top: 0
mod1: (
    option
)
window-max-count: 0
window-margin-size: 5
mouse-follows-focus: 0
window-minimum-height: 0
floating: (
)
mod2: (
    option,
    shift
)
mouse-resizes-windows: 1
new-windows-to-main: 0
enables-layout-hud-on-space-change: 0
window-resize-step: 2
window-minimum-width: 0
debug-layout-info: 0
hide-menu-bar-icon: 0
floating-is-blacklist: 1
disable-padding-on-builtin-display: 0
mouse-swaps-windows: 0
enables-layout-hud: 1
layouts: (
    tall,
    fullscreen,
    wide
)
ignore-menu-bar: 0
follow-space-thrown-windows: 1
smart-window-margins: 0
restore-layouts-on-launch: 1
window-margins: 1
screen-padding-right: 0

Note: --include-apps will list your manageable applications, but is optional if you don't want to list that.

Additional context
My wezterm config:

local wezterm = require("wezterm")
local config = {}

-- font config
config.font = wezterm.font("GoMono Nerd Font")
config.font_rules = { -- show bold cjk font in markdown titles
  {
    intensity = "Bold",
    font = wezterm.font_with_fallback({
      { family = "GoMono Nerd Font", weight = "Bold" },
      { family = "Noto Serif CJK SC", weight = "Bold" },
    }),
  },
}
config.font_size = 12
config.bold_brightens_ansi_colors = false

-- disable linear cursor blinking
config.cursor_blink_ease_in = "Constant"
config.cursor_blink_ease_out = "Constant"
config.cursor_blink_rate = 500

-- color scheme
config.color_scheme = "Gruvbox Dark (Gogh)"

-- window decoration
config.window_decorations = "NONE"
config.enable_tab_bar = false

-- disable window padding
config.window_padding = {
  left = 0,
  right = 0,
  top = 0,
  bottom = 0,
}

return config
@smartding smartding reopened this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant