DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Appearance

Borders, gaps, colors, effects and background shaders

Appearance

Appearance is set with flat keys. Colors use 0xRRGGBBAA.

SECTION 03 · Configuration
Scope: Visual Styling
Repository and source ↗

Borders, gaps and colors

border_px=4
inner_border_px=2
inner_border_gap=2
gap_inner_horizontal=5
gap_inner_vertical=5
gap_outer_horizontal=10
gap_outer_vertical=10
focus_color=0xc66b25ff
border_color=0x444444ff
urgent_color=0xad401fff
root_color=0x323232ff
border_radius=6

Setting inner_border_px above 0 gives double borders.

Effects

Blur, shadows, opacity and animations come from Mango and scenefx. For example: blur=1, shadows=1, focused_opacity=1.0, animations=1.

Effects and animations.

Background and cursor

canvas_shader=grain        # grain, dots, plus, or a path to a .glsl file
cursor_size=24
cursor_theme=Adwaita

On the proprietary NVIDIA driver the shader is drawn through a CPU copy to avoid a driver memory leak.

Preview boxes

The snap preview, select band and dragspawn box share one style, set by the canvas_preview_* keys.

← Previous

Keyboard bindings

Next →

Environment