This commit is contained in:
2026-03-29 17:03:48 +03:00
parent 7143e96ef3
commit 3880b353c1
20 changed files with 491 additions and 23 deletions

23
pkg/mesh/test_cmd.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"os"
"os/exec"
)
func main() {
f, err := os.Open("/home/potassium/documents/wallpaper/8.png")
if err != nil {
panic(err)
}
cmd := exec.Command(
"swaybg",
"--image", "/dev/stdin",
)
cmd.Stderr = os.Stderr
cmd.Stdin = f
err = cmd.Run()
if err != nil {
panic(err)
}
}