aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-12-21 08:37:30 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-12-21 08:37:30 +0400
commit5b1de86d336f7d617f98048fe4318061320d6a29 (patch)
treeb5d7fe08adc23c0715569a07581f34493d8086f6 /resources
parent58162ce685c487597cc097fe878650a17415a63b (diff)
downloadniri-5b1de86d336f7d617f98048fe4318061320d6a29.tar.gz
niri-5b1de86d336f7d617f98048fe4318061320d6a29.tar.bz2
niri-5b1de86d336f7d617f98048fe4318061320d6a29.zip
Add configurable struts
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 57083885..a028488a 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -122,6 +122,18 @@ default-column-width { proportion 0.5; }
// Set gaps around windows in logical pixels.
gaps 16
+// Struts shrink the area occupied by windows, similarly to layer-shell panels.
+// You can think of them as a kind of outer gaps. They are set in logical pixels.
+// Left and right struts will cause the next window to the side to always be visible.
+// Top and bottom struts will simply add outer gaps in addition to the area occupied by
+// layer-shell panels and regular gaps.
+struts {
+ // left 64
+ // right 64
+ // top 64
+ // bottom 64
+}
+
// You can change the path where screenshots are saved.
// A ~ at the front will be expanded to the home directory.
// The path is formatted with strftime(3) to give you the screenshot date and time.