调整配置结构并添加 client 规则配置

This commit is contained in:
2025-08-13 21:26:40 +08:00
parent 72151c1458
commit e78c847125
6 changed files with 85 additions and 61 deletions

View File

@@ -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;