From 7b9f0a3aae523e71d662b9cbafbd4baaa65877f9 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Fri, 5 Dec 2025 21:04:16 +0100 Subject: [PATCH] fix swayipc version and dependencies --- go.mod | 5 +++++ go.sum | 4 ++++ main.go | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 go.sum diff --git a/go.mod b/go.mod index 2e279f0..629c621 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,8 @@ module sway-descratch go 1.23.5 + +require ( + codeberg.org/scip/swayipc/v2 v2.0.0-test1 + github.com/alecthomas/repr v0.5.2 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..249c286 --- /dev/null +++ b/go.sum @@ -0,0 +1,4 @@ +codeberg.org/scip/swayipc/v2 v2.0.0-test1 h1:F4tOtE0gvxoh4mWQbV2+rG55cVJsCtkD5YME/6qxjqw= +codeberg.org/scip/swayipc/v2 v2.0.0-test1/go.mod h1:F+rmNQ+NjLDr8fU7HW/jSjiUIXeYfQ1cSyBiGByhoWI= +github.com/alecthomas/repr v0.5.2 h1:SU73FTI9D1P5UNtvseffFSGmdNci/O6RsqzeXJtP0Qs= +github.com/alecthomas/repr v0.5.2/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= diff --git a/main.go b/main.go index 16785f1..8eb006d 100644 --- a/main.go +++ b/main.go @@ -24,8 +24,8 @@ import ( "os" "strconv" + "codeberg.org/scip/swayipc/v2" "github.com/alecthomas/repr" - "codeberg.org/scip/swayipc" ) func main() {