[ALL] Fix typo
This commit is contained in:
parent
cee28e19c7
commit
8fd87e5892
6
layout.c
6
layout.c
@ -37,8 +37,6 @@ freelayout(void)
|
||||
{
|
||||
Client *c;
|
||||
|
||||
tags[seltag].layout.func = freelayout;
|
||||
|
||||
for(c = clients; c; c = c->next)
|
||||
{
|
||||
if(!ishide(c))
|
||||
@ -99,8 +97,6 @@ maxlayout(void)
|
||||
{
|
||||
Client *c;
|
||||
|
||||
tags[seltag].layout.func = maxlayout;
|
||||
|
||||
for(c = nexttiled(clients); c; c = nexttiled(c->next))
|
||||
{
|
||||
c->tile = False;
|
||||
@ -171,8 +167,6 @@ tile(void)
|
||||
nm = tags[seltag].nmaster;
|
||||
mht = mh - ((conf.bartop) ? 0 : barheight);
|
||||
|
||||
tags[seltag].layout.func = tile;
|
||||
|
||||
/* count all the "can-be-tiled" client */
|
||||
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next), ++n);
|
||||
if(n == 0)
|
||||
|
||||
1
wmfs.h
1
wmfs.h
@ -41,7 +41,6 @@
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
14
wmfsrc
14
wmfsrc
@ -37,7 +37,7 @@ layouts
|
||||
|
||||
tags
|
||||
{
|
||||
tag { name = "one" mwfact = 0.65 nmaster = 2 layout = "tile"}
|
||||
tag { name = "one" mwfact = 0.65 nmaster = 2 layout = "tile" }
|
||||
tag { name = "two" }
|
||||
tag { name = "three" }
|
||||
tag { name = "four" }
|
||||
@ -54,20 +54,20 @@ buttons
|
||||
button
|
||||
{
|
||||
text = "[-]"
|
||||
mouse { button = "Button1" func = "set_mwfact" cmd = "-0.01"}
|
||||
mouse { button = "Button1" func = "set_mwfact" cmd = "-0.01" }
|
||||
fg_color = "#FFFFFF"
|
||||
bg_color = "#191919"
|
||||
}
|
||||
button
|
||||
{
|
||||
text = "Mwfact" fg_color = "#FFFFFF" bg_color = "#3E3E3E"
|
||||
mouse { button = "Button4" func = "set_mwfact" cmd = "+0.01"}
|
||||
mouse { button = "Button5" func = "set_mwfact" cmd = "-0.01"}
|
||||
mouse { button = "Button4" func = "set_mwfact" cmd = "+0.01" }
|
||||
mouse { button = "Button5" func = "set_mwfact" cmd = "-0.01" }
|
||||
}
|
||||
button
|
||||
{
|
||||
text = "[+] "
|
||||
mouse { button = "Button1" func = "set_mwfact" cmd = "+0.01"}
|
||||
mouse { button = "Button1" func = "set_mwfact" cmd = "+0.01" }
|
||||
fg_color = "#FFFFFF"
|
||||
bg_color = "#191919"
|
||||
}
|
||||
@ -77,7 +77,7 @@ buttons
|
||||
button
|
||||
{
|
||||
text = "[-]"
|
||||
mouse { button = "Button1" func = "set_nmaster" cmd = "-1"}
|
||||
mouse { button = "Button1" func = "set_nmaster" cmd = "-1" }
|
||||
fg_color = "#FFFFFF"
|
||||
bg_color = "#191919"
|
||||
}
|
||||
@ -85,7 +85,7 @@ buttons
|
||||
button
|
||||
{
|
||||
text = "[+] "
|
||||
mouse { button = "Button1" func = "set_nmaster" cmd = "+1"}
|
||||
mouse { button = "Button1" func = "set_nmaster" cmd = "+1" }
|
||||
fg_color = "#FFFFFF"
|
||||
bg_color = "#191919"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user