mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-10-28 00:05:16 +01:00
streaming hell
This commit is contained in:
parent
2ff7374798
commit
c3e08a9df4
4 changed files with 55 additions and 6 deletions
17
justfile
17
justfile
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue