mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-28 21:37:28 -04:00
update docs
This commit is contained in:
parent
0d4a43e5e1
commit
373bbf90a0
2 changed files with 5 additions and 4 deletions
|
|
@ -46,5 +46,6 @@ description: Advanced settings for XWayland, focus behavior, and system integrat
|
||||||
| `snap_distance` | `30` | Max distance (pixels) to trigger floating snap. |
|
| `snap_distance` | `30` | Max distance (pixels) to trigger floating snap. |
|
||||||
| `no_border_when_single` | `0` | Remove window borders when only one window is visible on the tag. |
|
| `no_border_when_single` | `0` | Remove window borders when only one window is visible on the tag. |
|
||||||
| `idleinhibit_ignore_visible` | `0` | Allow invisible clients (e.g., background audio players) to inhibit idle. |
|
| `idleinhibit_ignore_visible` | `0` | Allow invisible clients (e.g., background audio players) to inhibit idle. |
|
||||||
|
| `tag_carousel` | `0` | Enable tag carousel (cycling through tags). |
|
||||||
| `drag_tile_refresh_interval` | `8.0` | Interval (1.0–16.0) to refresh tiled window resize during drag. Too small may cause application lag. |
|
| `drag_tile_refresh_interval` | `8.0` | Interval (1.0–16.0) to refresh tiled window resize during drag. Too small may cause application lag. |
|
||||||
| `drag_floating_refresh_interval` | `8.0` | Interval (1.0–16.0) to refresh floating window resize during drag. Too small may cause application lag. |
|
| `drag_floating_refresh_interval` | `8.0` | Interval (1.0–16.0) to refresh floating window resize during drag. Too small may cause application lag. |
|
||||||
|
|
@ -306,7 +306,6 @@ typedef struct {
|
||||||
uint32_t gappoh;
|
uint32_t gappoh;
|
||||||
uint32_t gappov;
|
uint32_t gappov;
|
||||||
uint32_t borderpx;
|
uint32_t borderpx;
|
||||||
int32_t tag_carousel;
|
|
||||||
float scratchpad_width_ratio;
|
float scratchpad_width_ratio;
|
||||||
float scratchpad_height_ratio;
|
float scratchpad_height_ratio;
|
||||||
float rootcolor[4];
|
float rootcolor[4];
|
||||||
|
|
@ -365,6 +364,7 @@ typedef struct {
|
||||||
int32_t single_scratchpad;
|
int32_t single_scratchpad;
|
||||||
int32_t xwayland_persistence;
|
int32_t xwayland_persistence;
|
||||||
int32_t syncobj_enable;
|
int32_t syncobj_enable;
|
||||||
|
int32_t tag_carousel;
|
||||||
float drag_tile_refresh_interval;
|
float drag_tile_refresh_interval;
|
||||||
float drag_floating_refresh_interval;
|
float drag_floating_refresh_interval;
|
||||||
int32_t allow_tearing;
|
int32_t allow_tearing;
|
||||||
|
|
@ -1395,6 +1395,8 @@ bool parse_option(Config *config, char *key, char *value) {
|
||||||
config->xwayland_persistence = atoi(value);
|
config->xwayland_persistence = atoi(value);
|
||||||
} else if (strcmp(key, "syncobj_enable") == 0) {
|
} else if (strcmp(key, "syncobj_enable") == 0) {
|
||||||
config->syncobj_enable = atoi(value);
|
config->syncobj_enable = atoi(value);
|
||||||
|
} else if (strcmp(key, "tag_carousel") == 0) {
|
||||||
|
config->tag_carousel = atoi(value);
|
||||||
} else if (strcmp(key, "drag_tile_refresh_interval") == 0) {
|
} else if (strcmp(key, "drag_tile_refresh_interval") == 0) {
|
||||||
config->drag_tile_refresh_interval = atof(value);
|
config->drag_tile_refresh_interval = atof(value);
|
||||||
} else if (strcmp(key, "drag_floating_refresh_interval") == 0) {
|
} else if (strcmp(key, "drag_floating_refresh_interval") == 0) {
|
||||||
|
|
@ -1698,8 +1700,6 @@ bool parse_option(Config *config, char *key, char *value) {
|
||||||
config->scratchpad_height_ratio = atof(value);
|
config->scratchpad_height_ratio = atof(value);
|
||||||
} else if (strcmp(key, "borderpx") == 0) {
|
} else if (strcmp(key, "borderpx") == 0) {
|
||||||
config->borderpx = atoi(value);
|
config->borderpx = atoi(value);
|
||||||
} else if (strcmp(key, "tag_carousel") == 0) {
|
|
||||||
config->tag_carousel = atoi(value);
|
|
||||||
} else if (strcmp(key, "rootcolor") == 0) {
|
} else if (strcmp(key, "rootcolor") == 0) {
|
||||||
int64_t color = parse_color(value);
|
int64_t color = parse_color(value);
|
||||||
if (color == -1) {
|
if (color == -1) {
|
||||||
|
|
@ -3330,6 +3330,7 @@ void set_value_default() {
|
||||||
config.single_scratchpad = 1;
|
config.single_scratchpad = 1;
|
||||||
config.xwayland_persistence = 1;
|
config.xwayland_persistence = 1;
|
||||||
config.syncobj_enable = 0;
|
config.syncobj_enable = 0;
|
||||||
|
config.tag_carousel = 0;
|
||||||
config.drag_tile_refresh_interval = 8.0f;
|
config.drag_tile_refresh_interval = 8.0f;
|
||||||
config.drag_floating_refresh_interval = 8.0f;
|
config.drag_floating_refresh_interval = 8.0f;
|
||||||
config.allow_tearing = TEARING_DISABLED;
|
config.allow_tearing = TEARING_DISABLED;
|
||||||
|
|
@ -3345,7 +3346,6 @@ void set_value_default() {
|
||||||
config.idleinhibit_ignore_visible = 0;
|
config.idleinhibit_ignore_visible = 0;
|
||||||
|
|
||||||
config.borderpx = 4;
|
config.borderpx = 4;
|
||||||
config.tag_carousel = 0;
|
|
||||||
config.overviewgappi = 5;
|
config.overviewgappi = 5;
|
||||||
config.overviewgappo = 30;
|
config.overviewgappo = 30;
|
||||||
config.cursor_hide_timeout = 0;
|
config.cursor_hide_timeout = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue