update to module changes

This commit is contained in:
2026-08-22 17:46:26 +02:00
parent f95d156509
commit 9e558e1f3c
15 changed files with 19 additions and 19 deletions

View File

@@ -9,8 +9,8 @@ package main
import (
"log"
"codeberg.org/scip/swayipc/v2"
"github.com/alecthomas/repr"
"codeberg.org/scip/swayipc/v1"
)
func main() {
@@ -37,7 +37,7 @@ func main() {
// finally execute the given commands on it, you can use any run
// command, see sway(5)
responses, err := ipc.RunContainerCommand(focused.Id, "floating toggle", "border toggle")
responses, err := ipc.RunContainerCommand(focused.ID, "floating toggle", "border toggle")
if err != nil {
repr.Println(responses)
log.Fatal(err)