Commit graph

1544 commits

Author SHA1 Message Date
DuckTapeMan35
b56cab98da refactor: change fair/fairv to use a 2 level tree
the idea is that we can step once through the tree to get the layout
(dfs) and since this makes it declarative resize can simply mutate the
tree and the arranger will handle the rest.

the tree looks a bit like:

FairState (root)
├── cols[0]  { ratio: col_width_weight }
│   ├── row_ratios[0]  row_height_weight
│   ├── row_ratios[1]  row_height_weight
│   └── row_ratios[2]  row_height_weight
├── cols[1]  { ratio: col_width_weight }
│   ├── row_ratios[0]  row_height_weight
│   └── row_ratios[1]  row_height_weight
└── cols[2]  { ratio: col_width_weight }
    └── row_ratios[0]  row_height_weight
2026-05-16 19:50:52 +01:00
DreamMaoMao
65c9ac6dd2 feat: grid and fair layout support resize tile window
Some checks failed
Sync website / sync-website (push) Has been cancelled
Sync wiki / sync-wiki (push) Has been cancelled
2026-05-16 19:00:34 +08:00
DreamMaoMao
04a3074fb4 opt: make big one as the last open window in fair layout 2026-05-16 16:31:16 +08:00
DreamMaoMao
469249b39e opt: dont let window get pointer focus in overview 2026-05-16 15:13:39 +08:00
DreamMaoMao
4ca7439575 update readme 2026-05-16 13:51:18 +08:00
DreamMaoMao
58d989d218 feat: fair layout
Some checks are pending
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run
2026-05-16 08:34:51 +08:00
DreamMaoMao
4be9e80355 fix: split border position error caculate
Some checks failed
Generate Nix Options Docs / update-docs (push) Has been cancelled
2026-05-15 15:03:46 +08:00
DreamMaoMao
1ce245af5c bump version to 0.13.0 2026-05-15 10:52:49 +08:00
DreamMaoMao
d4ea89f356 opt: dwindle_hsplit and dwindle_vsplit default to 1 2026-05-15 10:19:05 +08:00
DreamMaoMao
e17d443a43 uodate docs
Some checks are pending
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run
2026-05-15 08:07:18 +08:00
DreamMaoMao
89b24d514c opt: avoid manula caculate in normal dwindle mode 2026-05-15 07:59:35 +08:00
DreamMaoMao
42a46259fb update docs and config 2026-05-15 07:51:22 +08:00
DreamMaoMao
142cbb5e06 fix: fix potential wild Pointers 2026-05-15 07:43:15 +08:00
DreamMaoMao
8a3b94bc6f feat: manual split 2026-05-15 07:42:57 +08:00
DreamMaoMao
de694264a0
Merge pull request #926 from xtheeq/docs-update
Some checks failed
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run
Generate Nix Options Docs / update-docs (push) Has been cancelled
docs: add screenshot example binds and workflow
2026-05-14 11:38:58 +08:00
xtheeq
1814510b5c docs: add screenshot example binds and workflow 2026-05-13 20:01:35 +05:30
DreamMaoMao
e670b890bd
Merge pull request #924 from Ruixi-rebirth/main
refactor(docs): switch to nixos-render-docs for nix options generation
2026-05-13 21:06:52 +08:00
DreamMaoMao
a7d7867f27
Merge pull request #925 from mangowm/cursor-cs
fix: cursor constrain fail in some case
2026-05-13 20:53:15 +08:00
faugusto-oliveira
ad0f0732b3 fix: cursor constrain fail in some case 2026-05-13 15:37:05 +08:00
Ruixi-rebirth
d7c5b603eb refactor(docs): switch to nixos-render-docs for nix options generation
- Use nixos-render-docs commonmark as the rendering engine
- Add GitHub source links (Declared by) for each option
- Fix installation.md links pointing to /docs/nix-module -> /docs/nix-options
2026-05-13 11:06:59 +08:00
DreamMaoMao
0b39255831
Merge pull request #920 from Ruixi-rebirth/main
Some checks are pending
Generate Nix Options Docs / update-docs (push) Waiting to run
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run
feat(nix): generate module options docs and sync to website
2026-05-13 08:16:03 +08:00
Ruixi-rebirth
0cea4a8a0d docs: auto-generate Nix module options 2026-05-12 22:09:44 +00:00
Ruixi-rebirth
406866d96a
docs(nix): add startup guide and clarify addLoginEntry
- Replace 'Extra options' with greetd and getty autologin examples
- Add bash/zsh and fish variants for getty autologin
- Add link to Nix Module Options reference
- Clarify addLoginEntry only has effect when a DM is configured
2026-05-13 06:09:00 +08:00
Ruixi-rebirth
d5db98cfb7
fix(scripts): improve nix options doc generator
- Restore missing description on hm enable option (fixes nix build warning)
- Rewrite format_default_value into format_value with example support and nix code blocks
- Fix Nix markup stripping: {tag}`content` now preserves backtick content
- Generalize ::: block handling beyond {.note} to any block type
- Switch output from Markdown table to labeled fields format
2026-05-13 04:04:36 +08:00
DreamMaoMao
34e9246e4a update readme 2026-05-12 23:21:25 +08:00
DreamMaoMao
4f3813a272 opt: keep the header order when the scroll header is pop out stack 2026-05-12 22:58:37 +08:00
DreamMaoMao
a165d0b196 fix: ensure the global link own same order like scroller tag link 2026-05-12 22:26:00 +08:00
atheeq
c3ec4c6142
refactor(nix): replace sync nix options with direct md generation to … (#1)
* refactor(nix): replace sync nix options with direct md generation to docs

* fix(docs): add trailing comman in meta

* fix(ci): sort nix options and fix default value check
2026-05-12 22:18:45 +08:00
DreamMaoMao
30f00ba50a opt: optimize scroller insert reset 2026-05-12 16:48:22 +08:00
DreamMaoMao
3a1920f024 fix: error when move head out of stack in scroller layout 2026-05-12 16:19:11 +08:00
Ruixi-rebirth
0a687f808d
feat(nix): generate module options docs and sync to website
- Add nix/generate-hm-options.nix to export HM and NixOS module options as JSON via nixosOptionsDoc
- Expose hm-options-json and nixos-options-json packages in flake.nix
- Add CI workflow to auto-build and push JSONs to mangowm.github.io on module changes
- Add missing description to hm-modules enable option
2026-05-12 16:01:03 +08:00
DreamMaoMao
8eb0323e03 fix: shouldn't exchange tag if in same mon in exchange_two_client 2026-05-12 14:31:18 +08:00
DreamMaoMao
2b68d1b615 opt: more reasonable multi-tag window animations 2026-05-12 14:23:47 +08:00
DreamMaoMao
129d3da44e update docs
Some checks are pending
Sync website / sync-website (push) Waiting to run
Sync wiki / sync-wiki (push) Waiting to run
2026-05-12 09:48:29 +08:00
DreamMaoMao
cb99edd266
Merge pull request #597 from levnikmyskin/main
Support width/height as fractions in window rules. Closes #552
2026-05-12 09:45:27 +08:00
Alessio Molinari
a25e2a9b1c feat(window_rule): support width/height as fractions in window rules. 2026-05-12 09:43:42 +08:00
DreamMaoMao
398232fe02 opt: more smooth resieze when drag stack window 2026-05-12 09:13:26 +08:00
DreamMaoMao
4fbc257ff2 fix: miss re-arrange after exchange 2026-05-11 22:39:16 +08:00
DreamMaoMao
f1970d772a update docs 2026-05-11 17:49:53 +08:00
DreamMaoMao
f2a2ef5f64 update readme 2026-05-11 16:15:44 +08:00
DreamMaoMao
3dc2d7a399
Merge pull request #916 from Ruixi-rebirth/main
docs: improve sponsor section
2026-05-11 15:02:38 +08:00
Ruixi-rebirth
151889fd85
docs: improve sponsor section 2026-05-11 14:56:55 +08:00
DreamMaoMao
88bde2703d
Merge pull request #915 from Ruixi-rebirth/main
refactor: README
2026-05-11 14:32:13 +08:00
Ruixi-rebirth
374392a7ec
refactor: README 2026-05-11 14:24:50 +08:00
DreamMaoMao
47b053725c
Merge pull request #723 from jtliang24/main
Sets default for addLoginEntry correctly
2026-05-11 13:45:08 +08:00
DreamMaoMao
8726086578
Merge pull request #914 from max-amb/fix_flake_lock
Updated flake.lock nixpkgs input
2026-05-11 13:25:07 +08:00
DreamMaoMao
4967fd49ba update readme 2026-05-11 12:55:46 +08:00
DreamMaoMao
d0c5b1ccdc opt: redo scroller and dwindle layout 2026-05-11 12:20:54 +08:00
max-amb
bf831cb148 Updated flake.lock nixpkgs input
Made because project wasn't building due to the updated name for
libxcbwm
2026-05-10 13:39:08 +01:00
DreamMaoMao
cabafb2393 opt: swallow inherit global
Some checks failed
Sync website / sync-website (push) Has been cancelled
Sync wiki / sync-wiki (push) Has been cancelled
2026-05-10 09:34:01 +08:00