2020-04-14 10:24:27 -07:00
|
|
|
#ifndef __CONFIGURATION_H__
|
|
|
|
#define __CONFIGURATION_H__
|
|
|
|
|
2020-05-12 16:51:30 -07:00
|
|
|
#include "ui/ui.h"
|
2020-04-14 10:24:27 -07:00
|
|
|
|
2020-10-28 10:00:53 -07:00
|
|
|
#define CONFIG_VERSION 0x0007
|
2020-04-14 10:24:27 -07:00
|
|
|
|
|
|
|
typedef struct _Evisum_Config
|
|
|
|
{
|
|
|
|
int version;
|
|
|
|
int sort_type;
|
|
|
|
Eina_Bool sort_reverse;
|
2020-04-18 12:56:04 -07:00
|
|
|
int width;
|
|
|
|
int height;
|
2020-09-04 09:01:40 -07:00
|
|
|
int poll_delay;
|
2020-08-30 16:36:00 -07:00
|
|
|
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;
|
2020-10-28 10:00:53 -07:00
|
|
|
Eina_Bool show_user;
|
|
|
|
Eina_Bool show_desktop;
|
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
|