diff options
Diffstat (limited to 'sway.5.txt')
-rw-r--r-- | sway.5.txt | 30 |
1 files changed, 22 insertions, 8 deletions
@@ -22,11 +22,11 @@ Commands -------- **bindsym** <key combo> <command>:: - Binds _key combo_ to execute _command_ when pressed. You may use XKB key names - here (**xev**(1) is a good tool for discovering them). An example bindsym - command would be _bindsym Mod1+Shift+f exec firefox_, which would execute - Firefox if the alt, shift, and F keys are pressed together. Any valid sway - command is eligible to be bound to a key combo. + Binds _key combo_ to execute _command_ when pressed. You may use XKB key + names here (**xev**(1) is a good tool for discovering them). An example + bindsym command would be _bindsym Mod1+Shift+f exec firefox_, which would + execute Firefox if the alt, shift, and F keys are pressed together. Any + valid sway command is eligible to be bound to a key combo. **exec** <shell command>:: Executes _shell command_ with sh. @@ -48,6 +48,9 @@ Commands container, which is useful, for example, to open a sibling of the parent container, or to move the entire container around. +**focus** mode_toggle:: + Toggles focus between floating view and tiled view. + **focus_follows_mouse** <yes|no>:: If set to _yes_, the currently focused view will change as you move your mouse around the screen to the view that ends up underneath your mouse. @@ -76,13 +79,24 @@ Commands **splitv**:: Equivalent to **split vertical**. -**fullscreen**: +**floating_modifier** <modifier>:: + When the _modifier_ key is held down, you may use left click to drag floating + windows, and right click to resize them. + +**fullscreen**:: Toggles fullscreen status for the focused view. -**workspace** <name>: +**gaps** <amount>:: + Adds _amount_ pixels between each view, and around each output. + +**gaps** <inner|outer> <amount>:: + Adds _amount_ pixels as an _inner_ or _outer_ gap, where the former affects + spacing between views and the latter affects the space around each output. + +**workspace** <name>:: Switches to the specified workspace. -**workspace** <prev_on_output|next_on_output>: +**workspace** <prev_on_output|next_on_output>:: Switches to the next workspace on the current output. **workspace** <name> output <output>:: |