GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat: improve sample config (#400)
lars-berger6bac18baa780
diff --git a/GlazeWM.App/Resources/sample-config.yaml b/GlazeWM.App/Resources/sample-config.yamlindex 82ef0921..c4ea145b 100644--- a/GlazeWM.App/Resources/sample-config.yaml+++ b/GlazeWM.App/Resources/sample-config.yaml@@ -1,28 +1,43 @@-gaps:- inner_gap: "20px"- outer_gap: 20--# Only supported for Windows 11 Build 22000.51 and above.-focus_border_color:- active:- enabled: true- color: "#7ce38b"- inactive:- enabled: false-general:+ # Whether to automatically focus windows underneath the cursor.focus_follows_cursor: false++ # Whether to jump the cursor between windows focused by the WM.cursor_follow_focus: false++ # Whether to switch back and forth between the previously focused workspace+ # when focusing the current workspace.+ toggle_workspace_on_refocus: true+# Whether to show floating windows as always on top.show_floating_on_top: false++ # Amount to move floating windows by (eg. when using `alt+<hjkl>` on a floating window)floating_window_move_amount: "5%"- # When enabled, switching to the current workspace activates the previously focused workspace- toggle_workspace_on_refocus: false+# *Strongly* recommended to set to 'false'. Whether to globally enable/disable# window transition animations (on minimize, close, etc). Set to 'unchanged'# to make no setting changes.window_animations: "unchanged"+gaps:+ # Gap between adjacent windows.+ inner_gap: "20px"++ # Gap between windows and the screen edge.+ outer_gap: "20px"++# Highlight active/inactive windows with a colored border.+# ** Exclusive to Windows 11 due to API limitations.+focus_borders:+ active:+ enabled: true+ color: "#0000ff"++ inactive:+ enabled: false+ color: "#ff0000"+bar:height: "30px"position: "top"@@ -58,7 +73,6 @@ bar:# Documentation on formatting date/time string:# https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-stringstime_formatting: "hh:mm tt ddd MMM d"- margin: "0 0 0 10px"workspaces:- name: "1"@@ -75,7 +89,7 @@ window_rules:# Task Manager requires admin privileges to manage and should be ignored unless running# the WM as admin.- command: "ignore"- match_process_name: "Taskmgr"+ match_process_name: "/Taskmgr|ScreenClippingHost/"# Launches system dialogs as floating by default (eg. File Explorer save/open dialog).- command: "set floating"diff --git a/GlazeWM.Domain/UserConfigs/FocusBorderConfig.cs b/GlazeWM.Domain/UserConfigs/FocusBorderConfig.csindex 50e6d233..ec0f1570 100644--- a/GlazeWM.Domain/UserConfigs/FocusBorderConfig.cs+++ b/GlazeWM.Domain/UserConfigs/FocusBorderConfig.cs@@ -5,12 +5,12 @@ namespace GlazeWM.Domain.UserConfigs/// <summary>/// Border of the focused window./// </summary>- public FocusBorder Active { get; set; } = new() { Enabled = true, Color = "#7CE38B" };+ public FocusBorder Active { get; set; } = new() { Enabled = false, Color = "#0000ff" };/// <summary>/// Border of non-focused windows./// </summary>- public FocusBorder Inactive { get; set; } = new() { Enabled = false };+ public FocusBorder Inactive { get; set; } = new() { Enabled = false, Color = "#ff0000" };}public class FocusBorder