sites

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

commit fddb0c09bfcd341c4e450f90feea7b28dc4185a5
parent 0cb501c230b24670e078e89ff675cd8858043fac
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 25 Apr 2021 17:56:55 +0200

centerfirstwindow: use lowercase

Diffstat:
Ddwm.suckless.org/patches/centerFirstWindow/index.md | 46----------------------------------------------
Rdwm.suckless.org/patches/centerFirstWindow/dwm-centerFirstWindow-6.2.diff -> dwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff | 0
Adwm.suckless.org/patches/centerfirstwindow/index.md | 46++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 46 deletions(-)

diff --git a/dwm.suckless.org/patches/centerFirstWindow/index.md b/dwm.suckless.org/patches/centerFirstWindow/index.md @@ -1,46 +0,0 @@ -centerFirstWindow -================= - -Description ------------ - -This patch centers window if it is a single window opened. When any other -window opens, then they tile normally, and if all other windows will close, it -will center again. - -It is usefull for apps like - terminal, if you don't want that it cover all of -master area, when no other apps are open. - -Usage ------ - -It can be enabled for any window in config file, by setting `CenterThisWindow` -to `1`: - - /* class instance title tags mask isfloating CenterThisWindow? monitor */ - { "Xfce4-terminal", NULL, NULL, 0, 0, 1, -1 }, - -With one and two clients in master respectively this results in: - - +-----------------------------+ +-----------------------------+ - | | | +------------+ +----------+ | - | | | | | | | | - | | | | | | | | - | +-------------+ | | | | | | | - | | Single | | | | Terminal | | Terminal | | - | | Terminal | | | | Window 1 | | Window 2 | | - | | Window | | | | | | | | - | +-------------+ | | | | | | | - | | | | | | | | - | | | | | | | | - | | | +------------+ +----------+ | - +-----------------------------+ +-----------------------------+ - -Download --------- -* [dwm-centerFirstWindow-6.2.diff](dwm-centerFirstWindow-6.2.diff) - -Authors -------- -* ზურა დავითაშვილი - <zdavitashvili0@gmail.com> -* Part of code is taken from reddit post from `johannesthyssen` diff --git a/dwm.suckless.org/patches/centerFirstWindow/dwm-centerFirstWindow-6.2.diff b/dwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff diff --git a/dwm.suckless.org/patches/centerfirstwindow/index.md b/dwm.suckless.org/patches/centerfirstwindow/index.md @@ -0,0 +1,46 @@ +centerFirstWindow +================= + +Description +----------- + +This patch centers window if it is a single window opened. When any other +window opens, then they tile normally, and if all other windows will close, it +will center again. + +It is usefull for apps like - terminal, if you don't want that it cover all of +master area, when no other apps are open. + +Usage +----- + +It can be enabled for any window in config file, by setting `CenterThisWindow` +to `1`: + + /* class instance title tags mask isfloating CenterThisWindow? monitor */ + { "Xfce4-terminal", NULL, NULL, 0, 0, 1, -1 }, + +With one and two clients in master respectively this results in: + + +-----------------------------+ +-----------------------------+ + | | | +------------+ +----------+ | + | | | | | | | | + | | | | | | | | + | +-------------+ | | | | | | | + | | Single | | | | Terminal | | Terminal | | + | | Terminal | | | | Window 1 | | Window 2 | | + | | Window | | | | | | | | + | +-------------+ | | | | | | | + | | | | | | | | + | | | | | | | | + | | | +------------+ +----------+ | + +-----------------------------+ +-----------------------------+ + +Download +-------- +* [dwm-centerfirstwindow-6.2.diff](dwm-centerfirstwindow-6.2.diff) + +Authors +------- +* ზურა დავითაშვილი - <zdavitashvili0@gmail.com> +* Part of code is taken from reddit post from `johannesthyssen`