mirror of
https://gitlab.com/hyask/swaysome.git
synced 2025-12-10 07:44:43 +01:00
Merge branch 'master' into 'master'
Note about (un)bindcode or (un)bindsym and order numbering Added a note about using either (un)bindcode or (un)bindsym and re-ordered numbering to use single digits instead of double digits in the README. See merge request hyask/swaysome!11
This commit is contained in:
commit
c24d02e284
1 changed files with 81 additions and 80 deletions
161
README.md
161
README.md
|
|
@ -59,94 +59,95 @@ to check that everything works before fixing your `$PATH` issue.
|
||||||
## Usage
|
## 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:
|
||||||
|
> Use (un)bindcode or (un)bindsym, depending on what you used in your main sway config file.
|
||||||
```
|
```
|
||||||
# Change focus between workspaces
|
# Change focus between workspaces
|
||||||
unbindcode $mod+10
|
unbindcode $mod+1
|
||||||
unbindcode $mod+11
|
unbindcode $mod+2
|
||||||
unbindcode $mod+12
|
unbindcode $mod+3
|
||||||
unbindcode $mod+13
|
unbindcode $mod+4
|
||||||
unbindcode $mod+14
|
unbindcode $mod+5
|
||||||
unbindcode $mod+15
|
unbindcode $mod+6
|
||||||
unbindcode $mod+16
|
unbindcode $mod+7
|
||||||
unbindcode $mod+17
|
unbindcode $mod+8
|
||||||
unbindcode $mod+18
|
unbindcode $mod+9
|
||||||
unbindcode $mod+19
|
unbindcode $mod+0
|
||||||
bindcode $mod+10 exec "swaysome focus 1"
|
bindcode $mod+1 exec "swaysome focus 1"
|
||||||
bindcode $mod+11 exec "swaysome focus 2"
|
bindcode $mod+2 exec "swaysome focus 2"
|
||||||
bindcode $mod+12 exec "swaysome focus 3"
|
bindcode $mod+3 exec "swaysome focus 3"
|
||||||
bindcode $mod+13 exec "swaysome focus 4"
|
bindcode $mod+4 exec "swaysome focus 4"
|
||||||
bindcode $mod+14 exec "swaysome focus 5"
|
bindcode $mod+5 exec "swaysome focus 5"
|
||||||
bindcode $mod+15 exec "swaysome focus 6"
|
bindcode $mod+6 exec "swaysome focus 6"
|
||||||
bindcode $mod+16 exec "swaysome focus 7"
|
bindcode $mod+7 exec "swaysome focus 7"
|
||||||
bindcode $mod+17 exec "swaysome focus 8"
|
bindcode $mod+8 exec "swaysome focus 8"
|
||||||
bindcode $mod+18 exec "swaysome focus 9"
|
bindcode $mod+9 exec "swaysome focus 9"
|
||||||
bindcode $mod+19 exec "swaysome focus 0"
|
bindcode $mod+0 exec "swaysome focus 0"
|
||||||
|
|
||||||
# Move containers between workspaces
|
# Move containers between workspaces
|
||||||
unbindcode $mod+Shift+10
|
unbindcode $mod+Shift+1
|
||||||
unbindcode $mod+Shift+11
|
unbindcode $mod+Shift+2
|
||||||
unbindcode $mod+Shift+12
|
unbindcode $mod+Shift+3
|
||||||
unbindcode $mod+Shift+13
|
unbindcode $mod+Shift+4
|
||||||
unbindcode $mod+Shift+14
|
unbindcode $mod+Shift+5
|
||||||
unbindcode $mod+Shift+15
|
unbindcode $mod+Shift+6
|
||||||
unbindcode $mod+Shift+16
|
unbindcode $mod+Shift+7
|
||||||
unbindcode $mod+Shift+17
|
unbindcode $mod+Shift+8
|
||||||
unbindcode $mod+Shift+18
|
unbindcode $mod+Shift+9
|
||||||
unbindcode $mod+Shift+19
|
unbindcode $mod+Shift+0
|
||||||
bindcode $mod+Shift+10 exec "swaysome move 1"
|
bindcode $mod+Shift+1 exec "swaysome move 1"
|
||||||
bindcode $mod+Shift+11 exec "swaysome move 2"
|
bindcode $mod+Shift+2 exec "swaysome move 2"
|
||||||
bindcode $mod+Shift+12 exec "swaysome move 3"
|
bindcode $mod+Shift+3 exec "swaysome move 3"
|
||||||
bindcode $mod+Shift+13 exec "swaysome move 4"
|
bindcode $mod+Shift+4 exec "swaysome move 4"
|
||||||
bindcode $mod+Shift+14 exec "swaysome move 5"
|
bindcode $mod+Shift+5 exec "swaysome move 5"
|
||||||
bindcode $mod+Shift+15 exec "swaysome move 6"
|
bindcode $mod+Shift+6 exec "swaysome move 6"
|
||||||
bindcode $mod+Shift+16 exec "swaysome move 7"
|
bindcode $mod+Shift+7 exec "swaysome move 7"
|
||||||
bindcode $mod+Shift+17 exec "swaysome move 8"
|
bindcode $mod+Shift+8 exec "swaysome move 8"
|
||||||
bindcode $mod+Shift+18 exec "swaysome move 9"
|
bindcode $mod+Shift+9 exec "swaysome move 9"
|
||||||
bindcode $mod+Shift+19 exec "swaysome move 0"
|
bindcode $mod+Shift+0 exec "swaysome move 0"
|
||||||
|
|
||||||
# Focus workspace groups
|
# Focus workspace groups
|
||||||
unbindcode $mod+Ctrl+10
|
unbindcode $mod+Ctrl+1
|
||||||
unbindcode $mod+Ctrl+11
|
unbindcode $mod+Ctrl+2
|
||||||
unbindcode $mod+Ctrl+12
|
unbindcode $mod+Ctrl+3
|
||||||
unbindcode $mod+Ctrl+13
|
unbindcode $mod+Ctrl+4
|
||||||
unbindcode $mod+Ctrl+14
|
unbindcode $mod+Ctrl+5
|
||||||
unbindcode $mod+Ctrl+15
|
unbindcode $mod+Ctrl+6
|
||||||
unbindcode $mod+Ctrl+16
|
unbindcode $mod+Ctrl+7
|
||||||
unbindcode $mod+Ctrl+17
|
unbindcode $mod+Ctrl+8
|
||||||
unbindcode $mod+Ctrl+18
|
unbindcode $mod+Ctrl+9
|
||||||
unbindcode $mod+Ctrl+19
|
unbindcode $mod+Ctrl+0
|
||||||
bindcode $mod+Ctrl+10 exec "swaysome focus-group 1"
|
bindcode $mod+Ctrl+1 exec "swaysome focus-group 1"
|
||||||
bindcode $mod+Ctrl+11 exec "swaysome focus-group 2"
|
bindcode $mod+Ctrl+2 exec "swaysome focus-group 2"
|
||||||
bindcode $mod+Ctrl+12 exec "swaysome focus-group 3"
|
bindcode $mod+Ctrl+3 exec "swaysome focus-group 3"
|
||||||
bindcode $mod+Ctrl+13 exec "swaysome focus-group 4"
|
bindcode $mod+Ctrl+4 exec "swaysome focus-group 4"
|
||||||
bindcode $mod+Ctrl+14 exec "swaysome focus-group 5"
|
bindcode $mod+Ctrl+5 exec "swaysome focus-group 5"
|
||||||
bindcode $mod+Ctrl+15 exec "swaysome focus-group 6"
|
bindcode $mod+Ctrl+6 exec "swaysome focus-group 6"
|
||||||
bindcode $mod+Ctrl+16 exec "swaysome focus-group 7"
|
bindcode $mod+Ctrl+7 exec "swaysome focus-group 7"
|
||||||
bindcode $mod+Ctrl+17 exec "swaysome focus-group 8"
|
bindcode $mod+Ctrl+8 exec "swaysome focus-group 8"
|
||||||
bindcode $mod+Ctrl+18 exec "swaysome focus-group 9"
|
bindcode $mod+Ctrl+9 exec "swaysome focus-group 9"
|
||||||
bindcode $mod+Ctrl+19 exec "swaysome focus-group 0"
|
bindcode $mod+Ctrl+0 exec "swaysome focus-group 0"
|
||||||
|
|
||||||
# Move containers to other workspace groups
|
# Move containers to other workspace groups
|
||||||
unbindcode $mod+Ctrl+Shift+10
|
unbindcode $mod+Ctrl+Shift+1
|
||||||
unbindcode $mod+Ctrl+Shift+11
|
unbindcode $mod+Ctrl+Shift+2
|
||||||
unbindcode $mod+Ctrl+Shift+12
|
unbindcode $mod+Ctrl+Shift+3
|
||||||
unbindcode $mod+Ctrl+Shift+13
|
unbindcode $mod+Ctrl+Shift+4
|
||||||
unbindcode $mod+Ctrl+Shift+14
|
unbindcode $mod+Ctrl+Shift+5
|
||||||
unbindcode $mod+Ctrl+Shift+15
|
unbindcode $mod+Ctrl+Shift+6
|
||||||
unbindcode $mod+Ctrl+Shift+16
|
unbindcode $mod+Ctrl+Shift+7
|
||||||
unbindcode $mod+Ctrl+Shift+17
|
unbindcode $mod+Ctrl+Shift+8
|
||||||
unbindcode $mod+Ctrl+Shift+18
|
unbindcode $mod+Ctrl+Shift+9
|
||||||
unbindcode $mod+Ctrl+Shift+19
|
unbindcode $mod+Ctrl+Shift+0
|
||||||
bindcode $mod+Ctrl+Shift+10 exec "swaysome move-to-group 1"
|
bindcode $mod+Ctrl+Shift+1 exec "swaysome move-to-group 1"
|
||||||
bindcode $mod+Ctrl+Shift+11 exec "swaysome move-to-group 2"
|
bindcode $mod+Ctrl+Shift+2 exec "swaysome move-to-group 2"
|
||||||
bindcode $mod+Ctrl+Shift+12 exec "swaysome move-to-group 3"
|
bindcode $mod+Ctrl+Shift+3 exec "swaysome move-to-group 3"
|
||||||
bindcode $mod+Ctrl+Shift+13 exec "swaysome move-to-group 4"
|
bindcode $mod+Ctrl+Shift+4 exec "swaysome move-to-group 4"
|
||||||
bindcode $mod+Ctrl+Shift+14 exec "swaysome move-to-group 5"
|
bindcode $mod+Ctrl+Shift+5 exec "swaysome move-to-group 5"
|
||||||
bindcode $mod+Ctrl+Shift+15 exec "swaysome move-to-group 6"
|
bindcode $mod+Ctrl+Shift+6 exec "swaysome move-to-group 6"
|
||||||
bindcode $mod+Ctrl+Shift+16 exec "swaysome move-to-group 7"
|
bindcode $mod+Ctrl+Shift+7 exec "swaysome move-to-group 7"
|
||||||
bindcode $mod+Ctrl+Shift+17 exec "swaysome move-to-group 8"
|
bindcode $mod+Ctrl+Shift+8 exec "swaysome move-to-group 8"
|
||||||
bindcode $mod+Ctrl+Shift+18 exec "swaysome move-to-group 9"
|
bindcode $mod+Ctrl+Shift+9 exec "swaysome move-to-group 9"
|
||||||
bindcode $mod+Ctrl+Shift+19 exec "swaysome move-to-group 0"
|
bindcode $mod+Ctrl+Shift+0 exec "swaysome move-to-group 0"
|
||||||
|
|
||||||
# Move focused container to next output
|
# Move focused container to next output
|
||||||
bindcode $mod+o exec "swaysome next-output"
|
bindcode $mod+o exec "swaysome next-output"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue