mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-02 15:35:58 +01:00
4c2d8fc808
Adds an option to execute some program before and after screencast (e.g. for disabling notifications during a cast)
21 lines
430 B
C
21 lines
430 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#include "logger.h"
|
|
|
|
struct config_screencast {
|
|
char *output_name;
|
|
double max_fps;
|
|
char *exec_before;
|
|
char *exec_after;
|
|
};
|
|
|
|
struct xdpw_config {
|
|
struct config_screencast screencast_conf;
|
|
};
|
|
|
|
void print_config(enum LOGLEVEL loglevel, struct xdpw_config *config);
|
|
void finish_config(struct xdpw_config *config);
|
|
void init_config(char ** const configfile, struct xdpw_config *config);
|
|
|
|
#endif
|