This commit is contained in:
Michael Lehmann
2024-12-20 21:56:58 +01:00
commit 236970f477
36 changed files with 2553 additions and 0 deletions

15
clipboard.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"os/exec"
)
func copyToClipboard(value string) {
cmd := exec.Command("wl-copy", value)
err := cmd.Run()
if err != nil {
fmt.Println(err)
return
}
}