index.md - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       index.md (2274B)
       ---
            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 * [dwm-cfacts-6.2-1.diff](dwm-cfacts-6.2-1.diff)
           48 * [dwm-cfacts-20200913-61bb8b2.diff](dwm-cfacts-20200913-61bb8b2.diff)
           49 
           50 Additional layouts with cfacts
           51 ------------------------------
           52 Just patch these on top of the original cfacts patch.
           53 
           54 * [dwm-cfacts\_bottomstack-6.2.diff](dwm-cfacts_bottomstack-6.2.diff)
           55 * [dwm-cfacts\_centeredmaster-6.2.diff](dwm-cfacts_centeredmaster-6.2.diff)
           56 * [dwm-cfacts\_deck-6.2.diff](dwm-cfacts_deck-6.2.diff)
           57 
           58 Author
           59 ------
           60 * Patrick Steinhardt (pks) <ps@pks.im>
           61 * Aaron Duxler <aaron@duxler.xyz> - Additional layouts bottomstack + centeredmaster + deck
           62 * mss <mss@waifu.club> - dwm-6.2 port. 
           63 * Tobias Giess <tobias.giess@gmail.com> - Fix dwm-6.2 port not working on clients in the stack