opt: change preset config prefer

This commit is contained in:
DreamMaoMao 2026-01-24 12:04:17 +08:00
parent 8c89986976
commit cc1e55d24a
2 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ float scratchpad_height_ratio = 0.9;
int32_t scroller_structs = 20;
float scroller_default_proportion = 0.9;
float scroller_default_proportion_single = 1.0;
int32_t scroller_ignore_proportion_single = 0;
int32_t scroller_ignore_proportion_single = 1;
int32_t scroller_focus_center = 0;
int32_t scroller_prefer_center = 0;
int32_t focus_cross_monitor = 0;
@ -210,4 +210,4 @@ static const char *tags[] = {
};
float focused_opacity = 1.0;
float unfocused_opacity = 1.0;
float unfocused_opacity = 1.0;

View file

@ -17,8 +17,8 @@ static void tgmix(Monitor *m);
Layout overviewlayout = {"󰃇", overview, "overview"};
enum {
SCROLLER,
TILE,
SCROLLER,
GRID,
MONOCLE,
DECK,
@ -34,8 +34,8 @@ enum {
Layout layouts[] = {
// 最少两个,不能删除少于两个
/* symbol arrange function name */
{"S", scroller, "scroller", SCROLLER}, // 滚动布局
{"T", tile, "tile", TILE}, // 平铺布局
{"S", scroller, "scroller", SCROLLER}, // 滚动布局
{"G", grid, "grid", GRID}, // 格子布局
{"M", monocle, "monocle", MONOCLE}, // 单屏布局
{"K", deck, "deck", DECK}, // 卡片布局