diff options
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index ffa181f7..397b6d87 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -16,6 +16,12 @@ on startup. These commands usually consist of setting your preferences and | |||
16 | setting key bindings. An example config is likely present in /etc/sway/config | 16 | setting key bindings. An example config is likely present in /etc/sway/config |
17 | for you to check out. | 17 | for you to check out. |
18 | 18 | ||
19 | Lines in the configuration file might be extended through multiple lines by | ||
20 | adding a '\' character at the end of line. e.g.: | ||
21 | |||
22 | bindsym Shift+XF86AudioRaiseVolume exec pactl set-sink-volume \ | ||
23 | $(pactl list sinks | grep -B 1 RUNNING | sed '1q;d' | sed 's/[^0-9]\+//g') +5% | ||
24 | |||
19 | These commands can be executed in your config file, via **sway-msg**(1), or via | 25 | These commands can be executed in your config file, via **sway-msg**(1), or via |
20 | the bindsym command. | 26 | the bindsym command. |
21 | 27 | ||
@@ -140,6 +146,12 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**( | |||
140 | The following commands may be used either in the configuration file | 146 | The following commands may be used either in the configuration file |
141 | or triggered at runtime. | 147 | or triggered at runtime. |
142 | 148 | ||
149 | **assign** <criteria> [→] <workspace>:: | ||
150 | Assigns views matching _criteria_ (see **Criteria** section below) to | ||
151 | _workspace_. The → (U+2192) is optional and purely for aesthetics. This | ||
152 | command is exactly equivalent to "for_window <criteria> move container to | ||
153 | workspace <workspace>". | ||
154 | |||
143 | **bindsym** <key combo> <command>:: | 155 | **bindsym** <key combo> <command>:: |
144 | Binds _key combo_ to execute _command_ when pressed. You may use XKB key | 156 | Binds _key combo_ to execute _command_ when pressed. You may use XKB key |
145 | names here (**xev**(1) is a good tool for discovering them). An example | 157 | names here (**xev**(1) is a good tool for discovering them). An example |