sites

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

commit 7034c262b01d03d414e4ef41ba8dd5da0589dabc
parent c1c842d17bd75ddee8d62f4987d4733e3cdbea9f
Author: ზურა დავითაშვილი <zdavitashvili0@gmail.com>
Date:   Tue,  6 Jul 2021 12:54:16 +0400

Fixed broken description and has changed name.

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

diff --git a/dwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff b/dwm.suckless.org/patches/center_first_window/dwm-centerfirstwindow-6.2.diff diff --git a/dwm.suckless.org/patches/center_first_window/index.md b/dwm.suckless.org/patches/center_first_window/index.md @@ -0,0 +1,46 @@ +center first window +=================== + +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 +the master area, when no other apps are opened. + +Usage +----- + +It can be enabled for any window in config file, by setting `CenterThisWindow` +to `1`: + + /* class instance title tags mask isfloating CenterThisWindow? monitor */ + { "st", NULL, NULL, 0, 0, 1, -1 }, + +With one and two clients in master respectively 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's post by `johannesthyssen` diff --git a/dwm.suckless.org/patches/centerfirstwindow/index.md b/dwm.suckless.org/patches/centerfirstwindow/index.md @@ -1,46 +0,0 @@ -center first window -=================== - -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 -the master area, when no other apps are opened. - -Usage ------ - -It can be enabled for any window in config file, by setting `CenterThisWindow` -to `1`: - - /* class instance title tags mask isfloating CenterThisWindow? monitor */ - { "st", NULL, NULL, 0, 0, 1, -1 }, - -With one and two clients in master respectively 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's post by `johannesthyssen`