I3wm: Difference between revisions
iwu |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= i3 shortcut keys = | |||
from [https://i3wm.org/docs/refcard.html i3 Reference Card] | from [https://i3wm.org/docs/refcard.html i3 Reference Card] | ||
== Basics == | |||
<code>Logo</code> + <code>Enter</code> | <code>Logo</code> + <code>Enter</code> | ||
Line 48: | Line 48: | ||
== Changing the container layout == | |||
<code>Logo</code> + <code>e</code> | <code>Logo</code> + <code>e</code> | ||
Line 60: | Line 60: | ||
== Floating == | |||
<code>Logo</code> + <code>Shift</code> + <code>Space</code> | <code>Logo</code> + <code>Shift</code> + <code>Space</code> | ||
Line 68: | Line 68: | ||
== Using workspaces == | |||
<code>Logo</code> + <code>0</code> ... <code>9</code> | <code>Logo</code> + <code>0</code> ... <code>9</code> | ||
Line 77: | Line 77: | ||
== Opening applications / closing windows == | |||
<code>Logo</code> + <code>d</code> | <code>Logo</code> + <code>d</code> | ||
Line 86: | Line 86: | ||
== Restart / exit == | |||
<code>Logo</code> + <code>Shift</code> + <code>c</code> | <code>Logo</code> + <code>Shift</code> + <code>c</code> | ||
Line 96: | Line 96: | ||
<code>Logo</code> + <code>Shift</code> + <code>e</code> | <code>Logo</code> + <code>Shift</code> + <code>e</code> | ||
Exit i3 | Exit i3 | ||
= Cookbook = | |||
== Running startup scripts on login == | |||
Add a line like this in <code>~/.config/i3/config</code> file | |||
<syntaxhighlight lang="linux-config"> | |||
exec_always --no-startup-id $HOME/.config/i3/scripts/YOUR_SCRIPT.sh | |||
</syntaxhighlight> | |||
= References = | |||
* [https://i3wm.org/docs/userguide.html User's guide] |
Latest revision as of 08:18, 19 September 2024
i3 shortcut keys
from i3 Reference Card
Basics
Logo
+ Enter
Open new terminal
Logo
+ j
/ Left Arrow
Focus left
Logo
+ k
/ Down Arrow
Focus down
Logo
+ l
/ Up Arrow
Focus up
Logo
+ ;
/ Right Arrow
Focus right
Logo
+ a
Focus parent
Logo
+ Space
Toggle focus mode
Moving windows
Logo
+ Shift
+ j, k, l, or ; (or arrow keys)
Move window
Modifying windows
Logo
+ f
Toggle fullscreen
Logo
+ v
Split a window vertically
Logo
+ h
Split a window horizontally
Logo
+ r
Resize mode
Changing the container layout
Logo
+ e
Default
Logo
+ s
Stacking
Logo
+ w
Tabbed
Floating
Logo
+ Shift
+ Space
Toggle floating
Logo
+ Mouse left button :
Drag floating
Using workspaces
Logo
+ 0
... 9
Switch to another workspace
Logo
+ Shift
+ 0
... 9
Move a window to another workspace
Opening applications / closing windows
Logo
+ d
Open application launcher (dmenu)
Logo
+ Shift
+ q
Kill a window
Restart / exit
Logo
+ Shift
+ c
Reload the configuration file
Logo
+ Shift
+ r
Restart i3 in place
Logo
+ Shift
+ e
Exit i3
Cookbook
Running startup scripts on login
Add a line like this in ~/.config/i3/config
file
exec_always --no-startup-id $HOME/.config/i3/scripts/YOUR_SCRIPT.sh