mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
config: add missing keys to print_config
This commit is contained in:
parent
f1472350f0
commit
620946b320
2 changed files with 7 additions and 3 deletions
|
@ -10,9 +10,12 @@
|
||||||
#include <ini.h>
|
#include <ini.h>
|
||||||
|
|
||||||
void print_config(enum LOGLEVEL loglevel, struct xdpw_config *config) {
|
void print_config(enum LOGLEVEL loglevel, struct xdpw_config *config) {
|
||||||
logprint(loglevel, "config: outputname %s", config->screencast_conf.output_name);
|
logprint(loglevel, "config: outputname: %s", config->screencast_conf.output_name);
|
||||||
logprint(loglevel, "config: chooser_cmd: %s\n", config->screencast_conf.chooser_cmd);
|
logprint(loglevel, "config: max_fps: %d", config->screencast_conf.max_fps);
|
||||||
logprint(loglevel, "config: chooser_type: %s\n", chooser_type_str(config->screencast_conf.chooser_type));
|
logprint(loglevel, "config: exec_before: %s", config->screencast_conf.exec_before);
|
||||||
|
logprint(loglevel, "config: exec_after: %s", config->screencast_conf.exec_after);
|
||||||
|
logprint(loglevel, "config: chooser_cmd: %s", config->screencast_conf.chooser_cmd);
|
||||||
|
logprint(loglevel, "config: chooser_type: %s", chooser_type_str(config->screencast_conf.chooser_type));
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: calling finish_config won't prepare the config to be read again from config file
|
// NOTE: calling finish_config won't prepare the config to be read again from config file
|
||||||
|
|
|
@ -82,6 +82,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
init_logger(stderr, loglevel);
|
init_logger(stderr, loglevel);
|
||||||
init_config(&configfile, &config);
|
init_config(&configfile, &config);
|
||||||
|
print_config(DEBUG, &config);
|
||||||
|
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue