sites

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

commit 2ef023a8a4c90e70bfcdecf1e636684f51707c8a
parent 16dd82faee301033bd0bbe6eb8019bbc4622cd79
Author: rouchage <zdavitashvili0@gmail.com>
Date:   Mon, 26 Apr 2021 11:06:29 +0400

centerfirstwindow: mainly text correcting

Diffstat:
Mdwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff | 2+-
Mdwm.suckless.org/patches/centerfirstwindow/index.md | 12++++++------
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff b/dwm.suckless.org/patches/centerfirstwindow/dwm-centerfirstwindow-6.2.diff @@ -9,7 +9,7 @@ diff -up dwm-6.2-orig/config.def.h dwm-6.2-modd/config.def.h - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating CenterThisWindow? monitor */ -+ { "Xfce4-terminal", NULL, NULL, 0, 0, 1, -1 }, ++ { "st", NULL, NULL, 0, 0, 1, -1 }, + { "Gimp", NULL, NULL, 0, 1, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, 0, -1 }, }; diff --git a/dwm.suckless.org/patches/centerfirstwindow/index.md b/dwm.suckless.org/patches/centerfirstwindow/index.md @@ -1,5 +1,5 @@ -centerFirstWindow -================= +center first window +=================== Description ----------- @@ -9,7 +9,7 @@ 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. +the master area, when no other apps are opened. Usage ----- @@ -18,9 +18,9 @@ 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 }, + { "st", NULL, NULL, 0, 0, 1, -1 }, -With one and two clients in master respectively this results in: +With one and two clients in master respectively results in: +-----------------------------+ +-----------------------------+ | | | +------------+ +----------+ | @@ -43,4 +43,4 @@ Download Authors ------- * ზურა დავითაშვილი - <zdavitashvili0@gmail.com> -* Part of code is taken from reddit post from `johannesthyssen` +* Part of code is taken from reddit's post by `johannesthyssen`