Editing border and gap settings.

This commit is contained in:
Derek Taylor
2026-01-17 17:21:21 -06:00
parent 52f2e37552
commit 684b9597f6

View File

@@ -124,7 +124,7 @@ cursor {
// https://yalter.github.io/niri/Configuration:-Layout // https://yalter.github.io/niri/Configuration:-Layout
layout { layout {
// Set gaps around windows in logical pixels. // Set gaps around windows in logical pixels.
gaps 16 gaps 12
// When to center a column when changing focus, options are: // When to center a column when changing focus, options are:
// - "never", default behavior, focusing an off-screen column will keep at the left // - "never", default behavior, focusing an off-screen column will keep at the left
@@ -172,7 +172,7 @@ layout {
// off // off
// How many logical pixels the ring extends out from the windows. // How many logical pixels the ring extends out from the windows.
width 4 width 3
// Colors can be set in a variety of ways: // Colors can be set in a variety of ways:
// - CSS named colors: "red" // - CSS named colors: "red"
@@ -210,7 +210,7 @@ layout {
// If you enable the border, you probably want to disable the focus ring. // If you enable the border, you probably want to disable the focus ring.
off off
width 4 width 3
active-color "#ffc87f" active-color "#ffc87f"
inactive-color "#282c34" inactive-color "#282c34"
@@ -371,8 +371,8 @@ window-rule {
// Example: enable rounded corners for all windows. // Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
/-window-rule { window-rule {
geometry-corner-radius 12 geometry-corner-radius 6
clip-to-geometry true clip-to-geometry true
} }
@@ -606,3 +606,5 @@ binds {
// moving the mouse or pressing any other key. // moving the mouse or pressing any other key.
Ctrl+Alt+P { power-off-monitors; } Ctrl+Alt+P { power-off-monitors; }
} }
include "dms/cursor.kdl"