added logging, switched to slog, added screenshot, added release builder

This commit is contained in:
2025-08-11 08:47:41 +02:00
parent cb9b63f568
commit cbc061c082
8 changed files with 341 additions and 31 deletions

View File

@@ -5,6 +5,8 @@ floating ones or windows in sub-containers. So it simulates the
behavior of other window managers and desktop environments. Just bind
the tool to `ALT-tab` and there you go.
![Screenshot](https://github.com/TLINDEN/swaycycle/blob/main/.github/assets/screenshot.png)
## Installation
Checkout the repo and execute `make`. You'll need the go toolkit. Then
@@ -18,6 +20,21 @@ Add such a line to your sway config file (e.g. in `$HOME/.config/sway/config`):
bindsym $mod+Tab exec ~/bin/swaycycle
```
## Debugging
You may call `swaycycle` in a terminal window on a workspace with at
least one another window to test it. Use the option `--debug (-d)` to
get comprehensive debugging output. Add the option `--dump (-D)` to
also get a dump of the sway data tree retrieved by swaycycle. You may
also try `--verbose (-v)` to get a oneliner about the switch.
It's also possible to debug an instance executed by sway using the
`--logfile (-l)` switch, e.g.:
```default
bindsym $mod+Tab exec ~/bin/swaycycle -d -l /tmp/cycle.log
```
## Getting help
Although I'm happy to hear from swaycycle users in private email, that's the
@@ -25,7 +42,7 @@ best way for me to forget to do something.
In order to report a bug, unexpected behavior, feature requests or to
submit a patch, please open an issue on github:
https://github.com/TLINDEN/swaycycle/issues.
https://github.com/tlinden/swaycycle/issues.
## Copyright and license
@@ -37,7 +54,7 @@ T.v.Dein <tom AT vondein DOT org>
## Project homepage
https://github.com/TLINDEN/swaycycle
https://github.com/tlinden/swaycycle
## Copyright and License