evisum/src/bin/evisum_config.h

34 lines
618 B
C
Raw Normal View History

2020-04-14 10:24:27 -07:00
#ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__
#include "ui/ui.h"
2020-04-14 10:24:27 -07:00
#define CONFIG_VERSION 0x0008
2020-04-14 10:24:27 -07:00
typedef struct _Evisum_Config
{
int version;
int sort_type;
Eina_Bool sort_reverse;
int width;
int height;
2020-09-04 09:01:40 -07:00
int poll_delay;
Eina_Bool effects;
2020-10-10 06:52:11 -07:00
Eina_Bool backgrounds;
2020-10-03 06:19:29 -07:00
Eina_Bool show_kthreads;
Eina_Bool show_user;
Eina_Bool show_desktop;
struct
{
int width;
int height;
} cpu;
2020-04-14 10:24:27 -07:00
} Evisum_Config;
void config_init(void);
void config_shutdown(void);
Evisum_Config *config_load(void);
Eina_Bool config_save(Evisum_Config *);
#endif