streaming hell

This commit is contained in:
Schrottkatze 2025-10-14 14:22:39 +02:00
commit c3e08a9df4
No known key found for this signature in database
4 changed files with 55 additions and 6 deletions

View file

@ -12,6 +12,23 @@ tbuild:
update:
nix flake update --commit-lock-file --log-format multiline
toggle-gaps: replace-gaps test
replace-gaps:
#!/usr/bin/env nu
let style_file = './modules/desktop/home/niri/style.nix';
let gap_state = ./build-utils/templ-edit.nu find $style_file
| from json
| get 0.current
| parse " gaps = {v}; "
| get v.0;
print $gap_state;
if $gap_state == "0" {
./build-utils/templ-edit.nu edit $style_file GAPS 15
} else {
./build-utils/templ-edit.nu edit $style_file GAPS 0
}
update-typst-configs:
#!/usr/bin/env nu
let file = './modules/media/typst.nix';