prepared dot files

This commit is contained in:
2026-07-04 23:48:24 +02:00
commit 913ebaab14
26 changed files with 1103 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { execFileSync } from "node:child_process";
import * as p from "@clack/prompts";
import { readState, restow } from "./stow.js";
export async function update() {
p.intro("Hyprland dotfiles update");
execFileSync("sudo", ["pacman", "-Syu"], { stdio: "inherit" });
execFileSync("yay", ["-Syu"], { stdio: "inherit" });
restow(readState().dirs);
p.outro("Done.");
}