diff options
| author | allusive-dev <[email protected]> | 2023-11-03 16:38:39 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-03 16:38:39 +1100 |
| commit | 3543f63d0794b5290863e9f33af8d49745ad9a72 (patch) | |
| tree | 504c54a16b18594fbbc44c3aa3cae03d45695023 /src/options.c | |
| parent | sample config revamp (diff) | |
| download | compfy-1.2.6.tar.xz compfy-1.2.6.zip | |
DWM: Fixing opacity options1.2.6
Diffstat (limited to 'src/options.c')
| -rw-r--r-- | src/options.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 87f0fa3..6bdfa0e 100644 --- a/src/options.c +++ b/src/options.c @@ -188,6 +188,8 @@ static const struct picom_option picom_options[] = { {"animation-open-exclude", required_argument, 814, NULL, "animation open exclude list"}, {"animation-unmap-exclude", required_argument, 815, NULL, "animation unmap exclude list"}, {"wm-support", required_argument, 816, NULL, "Set specific window manager support"}, + {"active-opacity-exclude", required_argument, 817, NULL, "Exclude windows from being affected by active opacity"}, + {"inactive-opacity-exclude", required_argument, 818, NULL, "Exclude windows from being affected by inactive opacity"}, }; // clang-format on @@ -807,6 +809,12 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable, } break; } + case 817: + condlst_add(&opt->active_opacity_blacklist, optarg); + break; + case 818: + condlst_add(&opt->inactive_opacity_blacklist, optarg); + break; default: usage(argv[0], 1); break; #undef P_CASEBOOL } |