Borders
Borders are an experimental feature in both komorebi for Windows and komorebi for Mac.
Enable Borders
Section titled “Enable Borders”Borders are enabled by default in the configuration file.
Borders can be enabled (and disabled) in realtime using the komorebic border command.
Border Width
Section titled “Border Width”Border width is configured using a mixture of the width and offset configuration options.
These options can be set in realtime using the komorebic border-width and komorebic border-offset commands.
The border offset is the distance out from the edge of the window. Setting this to a greater value will increase the size of the border (the distance of the outer edge of the border from the outer edge of the window)
The border width is the width of the border from the border offset towards the edge of the window. Setting this to a greater value will increase the color fill of the border (towards the outer edge of the window).
It is safe to set the border width to a value which would fill inwards past the outer edge of the window, as the border will be drawn behind the window. This can be useful when running on an operating system which does not enforce a consistent radius for windows with rounded corners.
Border Colours
Section titled “Border Colours”komorebi uses border colours to indicate different window container states:
- Single - an active container with a single window
- Stack - an active container with multiple stacked windows
- Monocle - an active container in monocle mode
- Floating - an active floating window
- Unfocused - an unfocused window container
- Unfocused/Locked - an unfocused window container in the locked state
These border colours can be configured using either RGB or hexadecimal values.