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
This commit is contained in:
famfo 2023-02-15 01:19:02 +00:00 committed by GitHub
parent e78fc3364b
commit 9f20a52638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 58 additions and 17 deletions

View file

@ -20,7 +20,8 @@ Sway is an incredible window manager, and certainly one of the most well establi
- `shadow_blur_radius <integer value 0 - 100>`
- `shadow_color <hex color with alpha> ex, #0000007F`
+ Dim unfocused windows:
- `dim_inactive <float value 0.0 - 1.0>`
- `default_dim_inactive <float value 0.0 - 1.0>`
- `for_window [CRITERIA_HERE] dim_inactive <float value 0.0 - 1.0>`
- `dim_inactive_colors.unfocused <hex color> ex, #000000FF`
- `dim_inactive_colors.urgent <hex color> ex, #900000FF`