调整配置结构并添加 client 规则配置
This commit is contained in:
@@ -56,3 +56,20 @@ typedef struct wallpaper_config_t {
|
||||
uint32_t count;
|
||||
char **path_list;
|
||||
} wallpaper_config_t;
|
||||
|
||||
typedef struct rule_t {
|
||||
const char *class;
|
||||
const char *instance;
|
||||
const char *title;
|
||||
|
||||
/* 规则适用的屏幕总数,若设置为 0 ,则此条规则适用于任意屏幕数 */
|
||||
const uint32_t monitor_amount;
|
||||
|
||||
uint32_t tags;
|
||||
uint32_t monitor_index;
|
||||
|
||||
bool switch_to_tag;
|
||||
bool fullscreen;
|
||||
bool maximize;
|
||||
bool floating;
|
||||
} rule_t;
|
||||
|
||||
Reference in New Issue
Block a user