sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit fa27b772785afa99390ad9fed2cfcd476cec0563
parent a932365cb991abdfcfa6e921a0e23859cb73fc27
Author: user <user@a>
Date:   Fri,  4 Aug 2017 22:05:47 +0200

Sorry for that, just after commiting the schemeSwitch patch I saw useless statement in schemeCycle, changed it

Diffstat:
Mdwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff b/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff @@ -41,7 +41,7 @@ index a9ac303..b047735 100644 TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) diff --git a/dwm.c b/dwm.c -index a5ce993..511f2d6 100644 +index a5ce993..3935efc 100644 --- a/dwm.c +++ b/dwm.c @@ -60,7 +60,6 @@ @@ -69,14 +69,13 @@ index a5ce993..511f2d6 100644 static Display *dpy; static Drw *drw; static Monitor *mons, *selmon; -@@ -1410,6 +1412,43 @@ scan(void) +@@ -1410,6 +1412,42 @@ scan(void) } void +schemeCycle(const Arg *arg) { + -+ if ((SchemeSel < LENGTH(colors) -1) && -+ ((SchemeSel + 2) < LENGTH(colors))) ++ if ((SchemeSel + 2) < LENGTH(colors)) + { + SchemeNorm += 2; + SchemeSel += 2;