Skip to content

Commit

Permalink
feat: improve sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Sep 17, 2023
1 parent 099f614 commit 09bf578
Showing 1 changed file with 29 additions and 15 deletions.
44 changes: 29 additions & 15 deletions GlazeWM.App/Resources/sample-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
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

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 Build 22000 and above.
focus_borders:
active:
enabled: true
color: "#0000ff"

inactive:
enabled: false
color: "#ff0000"

bar:
height: "30px"
Expand All @@ -30,7 +44,7 @@ bar:
padding: "4px 6px"
offset_x: "0"
offset_y: "0"
border_radius: "0"
border_radius: "4px"
components_left:
- type: "workspaces"
focused_workspace_background: "#ffffff33"
Expand Down

0 comments on commit 09bf578

Please sign in to comment.