]> git.sur5r.net Git - i3/i3.github.io/blob - index.html
update doc for py3status 3.0 (#24)
[i3/i3.github.io] / index.html
1 ---
2 layout: default
3 title: Your New Jekyll Site
4 ---
5
6 <div id="info" class="clearfix">
7
8     <div id="screens">
9         <a href="/screenshots/" title="view more screenshots of i3">
10         <img id="screenshot" src="/screenshots/i3-9.bigthumb.png" width="375" height="234" alt="i3 screenshot"
11          srcset="/screenshots/i3-12.bigthumb.jpg 2x">
12         </a>
13     </div>
14
15     <h2>Do What I Mean. Good Docs. Clean Code. Sounds good?</h2>
16     <p>
17     Then you will love i3. Watch the <a href="/screenshots/">screencast</a>,<br>
18     read the <a href="/docs/userguide.html">User’s Guide</a> and <a
19     href="/downloads/">install i3</a>!
20     </p>
21     <div id="download">
22         <a href="/downloads">
23         <span style="font-weight: bold; color: #3A8ECD; margin-right: .5em">➡</span>
24         Download the latest version
25         <span style="margin-left: 2em; color: #c0c0c0">4.12</span>
26         </a>
27     </div>
28 </div>
29
30 <div id="content">
31 <p>
32 i3 is a <a href="http://en.wikipedia.org/wiki/Tiling_window_manager">tiling
33 window manager</a>, completely written from scratch. The target platforms are
34 GNU/Linux and BSD operating systems, our code is Free and Open Source Software
35 (FOSS) under the BSD license. i3 is primarily targeted at advanced users and
36 developers. Based upon the experiences we made when wanting to hack/fix wmii,
37 we agreed upon the following goals for i3:
38 </p> 
39  
40 <ol> 
41   <li> 
42     Write well readable, well <strong>documented</strong> code. Create additional
43     documentation on how to extend i3 by explaining its internal workings.
44     <br /> 
45     This includes being modifiable by people who do know how to program but who are
46     not necessarily familiar with all of X11’s internals. That is, document why
47     things happen and when they happen so that the user gets a picture of the whole
48     process a Window Manager is responsible of by just reading the source code.
49   </li> 
50   <li> 
51     Use xcb instead of Xlib. xcb has a much cleaner API and should be faster in
52     quite a lot of situations.
53   </li> 
54   <li> 
55     Implement multi-monitor correctly, that is by assigning each workspace to a
56     virtual screen. Especially make sure that attaching and detaching new monitors
57     like video projectors works during operation and does the right thing. Also
58     provide support for rotated monitors.
59   </li> 
60   <li> 
61     Use a tree as data structure. This allows for more flexible layouts than
62     the column-based approach used by other window managers.
63   </li> 
64   <li> 
65     Implement different modes, like in vim. You can use different keybindings
66     when in the 'resize' mode than when you are in the default mode, for
67     example.
68   </li> 
69   <li> 
70     Do <strong>not</strong> use programs such as autoconf/automake for configuration and
71     creating unreadable/broken makefiles. Instead, use a clean makefile which automatically
72     enables/disables features for specific platforms. Also, document the dependencies
73     properly, so that package maintainers have an easy job packaging i3.
74   </li> 
75   <li> 
76     Implement an IPC interface for other programs. Provide subscription to
77     certain events and accept commands.
78     <br /> 
79     This approach should be more lightweight than wmii’s usage of the 9P filesystem.
80     Furthermore, core functionality does not depend on a separate program, so that i3
81     runs faster, especially when your system is under load.
82   </li> 
83   <li> 
84     Be UTF-8 clean.
85   </li> 
86   <li> 
87     The usual elitism amongst minimal window managers: Don’t be bloated, don’t be fancy
88     (simple borders are the most decoration we want to have).
89     <br /> 
90     However, we do not enforce unnecessary limits such as a maximum amount of source lines
91     of code. If it needs to be a bit bigger, it will be.
92   </li> 
93 </ol> 
94  
95 </div>