mirror of
https://codeberg.org/scip/swayipc.git
synced 2026-08-24 23:04:19 +02:00
update to module changes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user