sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (2059B)


      1 cfacts
      2 ======
      3 
      4 Description
      5 -----------
      6 This patch provides the ability to assign different weights to clients in their
      7 respective stack in tiled layout. It implements a new function setcfact which
      8 will modify the cfact-value for the currently selected client. It accepts the
      9 following values:
     10 
     11 * A positive float to increase a clients weight, thus increasing the space the
     12   client is allocated in its current stack.
     13 * A negative float to decrease a clients weight, thus decreasing the space the
     14   client is allocated in its current stack.
     15 * A zero-value float to reset a clients weight to default.
     16 
     17 Default cfact-value for each client is 1.0. If a client is assigned a cfact
     18 value of 0.5 it will be allocated half of the space other clients would be
     19 allocated. If a client is assigned a cfact value of 2.0 it will be allocated
     20 twice the space other clients would be allocated.
     21 
     22 The following illustrates the behavior. The clients cfact-values are
     23 represented by floats inside the clients rectangles.
     24 
     25 	+---------------------+
     26 	|          |   0.5    |
     27 	|   1.0    +----------+
     28 	+----------+          |
     29 	|          |   1.0    |
     30 	|          +----------+
     31 	|   2.0    |          |
     32 	|          |   1.0    |
     33 	+----------+----------+
     34 
     35 Default key bindings
     36 --------------------
     37 	 Key     Argument   Description
     38 	-----------------------------------
     39 	 Mod-H   +0.25      Increase cfact
     40 	 Mod-L   -0.25      Decrease cfact
     41 	 Mod-O    0.00      Reset cfact
     42 
     43 Download
     44 --------
     45 * [dwm-cfacts-6.1.diff](dwm-cfacts-6.1.diff)
     46 * [dwm-cfacts-6.2.diff](dwm-cfacts-6.2.diff)
     47 
     48 Additional layouts with cfacts
     49 ------------------------------
     50 Just patch these on top of the original cfacts patch.
     51 
     52 * [dwm-cfacts\_bottomstack-6.2.diff](dwm-cfacts_bottomstack-6.2.diff)
     53 * [dwm-cfacts\_centeredmaster-6.2.diff](dwm-cfacts_centeredmaster-6.2.diff)
     54 * [dwm-cfacts\_deck-6.2.diff](dwm-cfacts_deck-6.2.diff)
     55 
     56 Author
     57 ------
     58 * Patrick Steinhardt (pks) <ps@pks.im>
     59 * Aaron Duxler <aaron@duxler.xyz> - Additional layouts bottomstack + centeredmaster + deck
     60 * mss <mss@waifu.club> - dwm-6.2 port.