diff options
| author | allusive-dev <[email protected]> | 2023-11-08 13:04:53 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-11-08 13:04:53 +1100 |
| commit | c5e1978de02698f8eff33c0316ac1a0c4ed1581d (patch) | |
| tree | a70c1bdc06e77196d1e7e2c3c3fbd3b28c230596 /src/config_libconfig.c | |
| parent | tweak (diff) | |
| download | compfy-c5e1978de02698f8eff33c0316ac1a0c4ed1581d.tar.xz compfy-c5e1978de02698f8eff33c0316ac1a0c4ed1581d.zip | |
backtrack
Diffstat (limited to 'src/config_libconfig.c')
| -rw-r--r-- | src/config_libconfig.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/config_libconfig.c b/src/config_libconfig.c index 0f6a0f1..1b81a50 100644 --- a/src/config_libconfig.c +++ b/src/config_libconfig.c @@ -468,21 +468,6 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad goto err; } } - - const char *wmNotice = checkWindowManager(); - - if (strcmp(wmNotice, "awesome") == 0) { - log_warn("Looks like you are using AwesomeWM. Applying Patches"); - } else if (strcmp(wmNotice, "herb") == 0) { - log_warn("Looks like you are using HerbstluftWM. Applying Patches"); - } else if (strcmp(wmNotice, "dwm") == 0) { - log_warn("Looks like you are using DWM. Applying Patches"); - } else if (strcmp(wmNotice, "NULL") == 0) { - log_warn("Your not using a Display Manager. Add this to your shells's rc file to ensure you will get the right patches.\n export DESKTOP_SESSION='your-window-manager'\n"); - } else { - log_warn("Looks like your WM, %s does not have any patches avaliable. This is not an Error.", wmNotice); - } - // --log-level if (config_lookup_string(&cfg, "log-level", &sval)) { auto level = string_to_log_level(sval); @@ -616,8 +601,7 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad log_fatal("Invalid window manager name passed %s", sval); goto err; } - log_warn("wm-support is deprecated. Your window manager will now be detected and have patches applied automatically"); - opt->support_for_wm = WM_SUPPORT_NONE; + opt->support_for_wm = wm; } // --opacity-rule parse_cfg_condlst_opct(opt, &cfg, "opacity-rule"); |