From 9f20a5263814f325035d3569768060e04c7dcb96 Mon Sep 17 00:00:00 2001 From: famfo <44938471+famfo@users.noreply.github.com> Date: Wed, 15 Feb 2023 01:19:02 +0000 Subject: Implement for_window support for dim_inactive (#109) * Implement for_window support for dim_inactive * Update file names, add check if the container is null, add docs * Fix typo * Update meson.build * Update commands.c * Update render.c * Update container.c * Update render.c * Update container.h --- sway/sway.5.scd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sway/sway.5.scd') diff --git a/sway/sway.5.scd b/sway/sway.5.scd index d25330db..e3e62ed7 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -652,10 +652,15 @@ The default colors are: *smart_corner_radius* on|off Set corner radius only if there are gaps around the window. -*dim_inactive* +*default_dim_inactive* Adjusts the dimming of inactive windows between 0.0 (no dimming) and 1.0 (fully dimmed) while 0.0 is the default value. +*dim_inactive* + This can only be used with a *for_window* rule. + Adjusts the dimming of a window, matching the rule, between 0.0 (no dimming) + and 1.0 (fully dimmed). Default value: *default_dim_inactive* + *dim_inactive_colors.unfocused* The color to dim inactive windows with. Example color: #000000FF -- cgit v1.2.3