I3wm: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
Running startup scripts on login
 
Line 103: Line 103:
Add a line like this in <code>~/.config/i3/config</code> file
Add a line like this in <code>~/.config/i3/config</code> file


<source lang="config">
<syntaxhighlight lang="config">
exec_always --no-startup-id $HOME/.config/i3/scripts/YOUR_SCRIPT.sh
exec_always --no-startup-id $HOME/.config/i3/scripts/YOUR_SCRIPT.sh
</source>
</syntaxhighlight>
 


= References =
= References =


* [https://i3wm.org/docs/userguide.html User's guide]
* [https://i3wm.org/docs/userguide.html User's guide]

Latest revision as of 08:22, 17 October 2023

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

References