README: small form improvements

This commit is contained in:
Skia 2023-02-07 11:16:37 +01:00
parent dd22264536
commit 13b9687c0a

View file

@ -5,7 +5,7 @@ currently means workspaces that are name-spaced on a per-screen basis.
It may also work with i3, but this is untested.
*swaysome* is compatible with [sworkstyle](https://lib.rs/crates/sworkstyle).
*swaysome* should be compatible with [sworkstyle](https://lib.rs/crates/sworkstyle).
## Installation
@ -21,7 +21,7 @@ CI and put it in your `$PATH`.
## Usage
Then create the file (and the directory if needed) "~/.config/sway/config.d/swaysome.conf" and paste this inside:
Then create the file (and the directory if needed) `~/.config/sway/config.d/swaysome.conf` and paste this inside:
```
# Change focus between workspaces
unbindsym $mod+1
@ -95,8 +95,8 @@ include ~/.config/sway/config.d/*.conf
```
You should end-up with workspaces from `1` to `0`, prefixed with a screen index,
giving you workspace `01` on the first screen, and workspace `11` on the second
one, both accessible with shortcut `$mod+1`.
giving you workspace `11` on the first screen, and workspace `21` on the second
one, both accessible with shortcut `$mod+1` when focused on the right output.
The `init` command simply walks through every screen to initialize a prefixed
workspace. It does it backwards so that you end-up focused on the first screen,
@ -114,7 +114,7 @@ as usual.
* `next-group`: change focus to the next workspace group
* `previous-group`: change focus to the previous workspace group
* `init [name]`: cycle all outputs to create a default workspace with name `[name]`
* `rearrange-workspaces` Rearrange already opened workspaces to the correct outputs
* `rearrange-workspaces` Rearrange already opened workspaces to the correct outputs, useful when plugging or unplugging screens
## Breaking changes