From f29274438bdb64e06c97326207d79b3fa68f3455 Mon Sep 17 00:00:00 2001 From: lars-berger Date: Sun, 24 Sep 2023 02:39:26 +0800 Subject: [PATCH] fix: focus borders is set correctly when using `focus_borders` + readme fix for system tray (#413) --- GlazeWM.Domain/UserConfigs/UserConfig.cs | 2 +- GlazeWM.Domain/UserConfigs/UserConfigService.cs | 2 +- README.md | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/GlazeWM.Domain/UserConfigs/UserConfig.cs b/GlazeWM.Domain/UserConfigs/UserConfig.cs index cbd4136cb..25324a9fe 100644 --- a/GlazeWM.Domain/UserConfigs/UserConfig.cs +++ b/GlazeWM.Domain/UserConfigs/UserConfig.cs @@ -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(); diff --git a/GlazeWM.Domain/UserConfigs/UserConfigService.cs b/GlazeWM.Domain/UserConfigs/UserConfigService.cs index 3cfe30ae1..203edd7d6 100644 --- a/GlazeWM.Domain/UserConfigs/UserConfigService.cs +++ b/GlazeWM.Domain/UserConfigs/UserConfigService.cs @@ -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 BarConfigs => UserConfig.BarConfigs; public List WorkspaceConfigs => UserConfig.Workspaces; diff --git a/README.md b/README.md index b7117c7ea..01eabca21 100644 --- a/README.md +++ b/README.md @@ -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) -

Showcase GIF by @HolbyFPV

+

Showcase GIF by @HolbyFPV

Under the hood, GlazeWM adds functionality to the built-in window manager and uses the Windows API via P/Invoke to position windows. @@ -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 @@ -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" @@ -455,7 +454,7 @@ bar: - type: "cpu" # Change font family (ie. ff) to Comic Sans for part of the label: label: "CPU: {percent_usage}%" - + - type: "battery" # Show an icon by using an icon font: label_draining: " {battery_level}%"