Feature: Wintype-specific options in configuration files

- Add support of window-type-specific options (fade, shadow, and
  opacity) in configuration file parsing. Syntax shown in
  compton.sample.conf.

- Replace wintype_name() with an array of window type names. Code
  clean-up.
This commit is contained in:
Richard Grenville
2012-09-25 21:04:10 +08:00
parent ee9e90efec
commit 564e55e22c
3 changed files with 85 additions and 88 deletions

View File

@ -27,3 +27,9 @@ fade-out-step = 0.03
# Other
mark-wmwin-focused = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; opacity = 0.75; };
}