Skip to content

[Feature Request] Add width property to BorderEffectConfig for customizable border thickness #1187

@darknightXYZ

Description

@darknightXYZ

Describe the problem/motivation

Currently, the BorderEffectConfig only provides two configurable properties:

impl Default for BorderEffectConfig {
  fn default() -> Self {
    BorderEffectConfig {
      enabled: false,
      color: Color {
        r: 140,
        g: 190,
        b: 255,
        a: 255,
      },
    }
  }
}

Relative Config Location

This allows enabling/disabling the border effect and setting its color. However, there is no option to control the border width.

On Windows systems, the default border width is quite narrow, which makes it difficult to visually distinguish the currently focused window. Adding a width property would significantly improve usability by allowing users to set a thicker border according to their preference.

Describe the solution you'd like

Extend the BorderEffectConfig struct with an additional property, for example:

pub struct BorderEffectConfig {
  pub enabled: bool,
  pub color: Color,
  pub width: u32, // new property for border thickness
}

Users who find the default border too subtle will be able to increase its width, making it much easier to see which window is active.

Thank you very much!

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📬 Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions