mirror of
https://codeberg.org/scip/swayipc.git
synced 2025-12-18 04:51:04 +01:00
upd docs
This commit is contained in:
10
README.md
10
README.md
@@ -1,7 +1,7 @@
|
|||||||
[](https://ci.codeberg.org/repos/15565)
|
[](https://ci.codeberg.org/repos/15565)
|
||||||
[](https://goreportcard.com/report/codeberg.org/scip/swayipc/v1)
|
[](https://goreportcard.com/report/codeberg.org/scip/swayipc)
|
||||||
[](https://codeberg.org/scip/swayipc/raw/branch/main/LICENSE)
|
[](https://codeberg.org/scip/swayipc/raw/branch/main/LICENSE)
|
||||||
[](https://godoc.org/codeberg.org/scip/swayipc/v1)
|
[](https://godoc.org/codeberg.org/scip/swayipc)
|
||||||
|
|
||||||
# swayipc - go bindings to control sway and swayfx
|
# swayipc - go bindings to control sway and swayfx
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ haven't tested it on i3wm.
|
|||||||
The module uses the i3-IPC proctocol as outlined in sway-ipc(7).
|
The module uses the i3-IPC proctocol as outlined in sway-ipc(7).
|
||||||
|
|
||||||
For details on how to use the library, see the
|
For details on how to use the library, see the
|
||||||
[reference documentation](https://godoc.org/codeberg.org/scip/swayipc/v1).
|
[reference documentation](https://godoc.org/codeberg.org/scip/swayipc).
|
||||||
|
|
||||||
## Example usage
|
## Example usage
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"codeberg.org/scip/swayipc/v1"
|
"codeberg.org/scip/swayipc/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -79,7 +79,7 @@ which is using this module.
|
|||||||
|
|
||||||
Execute this to add the module to your project:
|
Execute this to add the module to your project:
|
||||||
```sh
|
```sh
|
||||||
go get codeberg.org/scip/swayipc/v1
|
go get codeberg.org/scip/swayipc/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
|
|||||||
Reference in New Issue
Block a user