Skip to content

i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers. This project includes my i3 configuration and tricks.

License

Notifications You must be signed in to change notification settings

raven2cz/i3-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raven2cz’s i3 Configuration

Do What I Mean. Good Docs. Clean Code. Sounds good?

Then you will love i3. Watch the screencast, read the User’s Guide and install i3!

Table of Contents

Introduction

i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers. Based upon the experiences we made when wanting to hack/fix wmii, we agreed upon the following goals for i3:

  • Write well readable, well documented code. Create additional documentation on how to extend i3 by explaining its internal workings. This includes being modifiable by people who do know how to program but who are not necessarily familiar with all of X11’s internals. That is, document why things happen and when they happen so that the user gets a picture of the whole process a Window Manager is responsible of by just reading the source code.
  • Use xcb instead of Xlib. xcb has a much cleaner API and should be faster in quite a lot of situations.
  • Implement multi-monitor correctly, that is by assigning each workspace to a virtual screen. Especially make sure that attaching and detaching new monitors like video projectors works during operation and does the right thing. Also provide support for rotated monitors.
  • Use a tree as data structure. This allows for more flexible layouts than the column-based approach used by other window managers.
  • Implement different modes, like in vim. You can use different keybindings when in the ‘resize’ mode than when you are in the default mode, for example.
  • Implement an IPC interface for other programs. Provide subscription to certain events and accept commands.
  • This approach should be more lightweight than wmii’s usage of the 9P filesystem. Furthermore, core functionality does not depend on a separate program, so that i3 runs faster, especially when your system is under load.
  • Be UTF-8 clean.
  • The usual elitism amongst minimal window managers: Don’t be bloated, don’t be fancy (simple borders are the most decoration we want to have). However, we do not enforce unnecessary limits such as a maximum amount of source lines of code. If it needs to be a bit bigger, it will be.
  • Do not add further complexity when it can be avoided. We are generally happy with the feature set of i3 and instead focus on fixing bugs and maintaining it for stability. New features will therefore only be considered if the benefit clearly outweighs the additional complexity, and we encourage users to implement features using the IPC whenever possible.

In addition to these stated goals, we try our best to uphold the following values when considering contributions to the project:

  • Never break configuration files or existing workflows. Breaking changes require a major version bump (v4 → v5).
  • Keep mental complexity low: once you know i3’s key features, other features should be easy to understand.
  • Only add features which benefit many people, instead of going to great lengths to support rarely used workflows.
  • Only documented behavior is supported. Clear documentation is a requirement for contributions.

Configuration Documentation

i3 Official Documentation is accurate start for first steps. Other description is included in my main config file.

License

The files and scripts in this repository are licensed under the MIT License, which is a very permissive license allowing you to use, modify, copy, distribute, sell, give away, etc. the software. In other words, do what you want with it. The only requirement with the MIT License is that the license and copyright notice must be provided with the software.

The configuration files are added in LICENSE (Antonin Fischer (raven2cz) repository).

About

i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers. This project includes my i3 configuration and tricks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published