Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (1994B)
---
1 center first window
2 ===================
3
4 Description
5 -----------
6
7 This patch centers window if it is a single window opened. When any oth…
8 window opens, then they tile normally, and if all other windows will clo…
9 will center again.
10
11 It is usefull for apps like - terminal, if you don't want that it cover …
12 the master area, when no other apps are opened.
13
14 Usage
15 -----
16
17 It can be enabled for any window in config file, by setting `CenterThisW…
18 to `1`:
19
20 /* class instance title tags mask isfloat…
21 { "st", NULL, NULL, 0, 0, …
22
23 With one and two clients in master respectively results in:
24
25 +-----------------------------+ +------------------------…
26 | | | +------------+ +-------…
27 | | | | | | …
28 | | | | | | …
29 | +-------------+ | | | | | …
30 | | Single | | | | Terminal | | Termin…
31 | | Terminal | | | | Window 1 | | Window…
32 | | Window | | | | | | …
33 | +-------------+ | | | | | …
34 | | | | | | …
35 | | | | | | …
36 | | | +------------+ +-------…
37 +-----------------------------+ +------------------------…
38
39 Download
40 --------
41 * [dwm-centerfirstwindow-6.2.diff](dwm-centerfirstwindow-6.2.diff)
42
43 Authors
44 -------
45 * ზურა დავითაშვილი - <zdavitashvili0@gmail…
46 * Part of code is taken from reddit's post by `johannesthyssen`
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.