Skip to content

Commit

Permalink
fix: focus borders is set correctly when using focus_borders + read…
Browse files Browse the repository at this point in the history
…me fix for system tray (#413)
  • Loading branch information
lars-berger authored Sep 23, 2023
1 parent 9065555 commit f292744
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion GlazeWM.Domain/UserConfigs/UserConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class UserConfig
{
public GapsConfig Gaps { get; set; } = new();

public FocusBordersConfig FocusBorderColor { get; set; } = new();
public FocusBordersConfig FocusBorders { get; set; } = new();

public GeneralConfig General { get; set; } = new();

Expand Down
2 changes: 1 addition & 1 deletion GlazeWM.Domain/UserConfigs/UserConfigService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class UserConfigService
public UserConfig UserConfig { private get; set; }

public GapsConfig GapsConfig => UserConfig.Gaps;
public FocusBordersConfig FocusBorderConfig => UserConfig.FocusBorderColor;
public FocusBordersConfig FocusBorderConfig => UserConfig.FocusBorders;
public GeneralConfig GeneralConfig => UserConfig.General;
public List<BarConfig> BarConfigs => UserConfig.BarConfigs;
public List<WorkspaceConfig> WorkspaceConfigs => UserConfig.Workspaces;
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Why use a tiling window manager? A tiling WM lets you easily organize windows an
- Easy one-click installation

![demo](https://github.com/glazerdesktop/GlazeWM/assets/34844898/58167ca8-3064-4c5f-a82e-51bd3cd8830b)
<p align="center"><i>Showcase GIF by <a href="https://github.com/HolbyFPV">@HolbyFPV</a></i></p>

<p align="center"><i>Showcase GIF by <a href="https://github.com/HolbyFPV">@HolbyFPV</a></i></p>

Under the hood, GlazeWM adds functionality to the built-in window manager and uses the Windows API via P/Invoke to position windows.

Expand Down Expand Up @@ -91,7 +91,6 @@ general:
# Whether to globally enable/disable window transition animations (on minimize, close,
# etc). Set to 'unchanged' to make no setting changes.
window_animations: "unchanged"

```
## Keybindings
Expand Down Expand Up @@ -437,7 +436,7 @@ Supports `.png` and `.jpg` formats.

### Bar Component: System Tray

Use `Ctrl+Click` to pin and un-pin an icon.
Use `Alt+Click` to pin and un-pin an icon.

```yaml
- type: "system tray"
Expand All @@ -455,7 +454,7 @@ bar:
- type: "cpu"
# Change font family (ie. ff) to Comic Sans for part of the label:
label: "<attr ff='Comic Sans'>CPU:</attr> {percent_usage}%"
- type: "battery"
# Show an icon by using an icon font:
label_draining: "<attr ff='Material Icons'></attr> {battery_level}%"
Expand Down

0 comments on commit f292744

Please sign in to comment.