[ALL] Fix typo
This commit is contained in:
parent
cee28e19c7
commit
8fd87e5892
8
config.c
8
config.c
@ -281,10 +281,10 @@ init_conf(void)
|
|||||||
cfg_buttons = cfg_getsec(cfg, "buttons");
|
cfg_buttons = cfg_getsec(cfg, "buttons");
|
||||||
|
|
||||||
/* misc */
|
/* misc */
|
||||||
conf.raisefocus = cfg_getbool(cfg_misc, "raisefocus");
|
conf.raisefocus = cfg_getbool(cfg_misc, "raisefocus");
|
||||||
conf.raiseswitch = cfg_getbool(cfg_misc, "raiseswitch");
|
conf.raiseswitch = cfg_getbool(cfg_misc, "raiseswitch");
|
||||||
conf.borderheight = cfg_getint(cfg_misc, "border_height");
|
conf.borderheight = cfg_getint(cfg_misc, "border_height");
|
||||||
conf.ttbarheight = cfg_getint(cfg_misc, "titlebar_height");
|
conf.ttbarheight = cfg_getint(cfg_misc, "titlebar_height");
|
||||||
conf.bartop = (strcmp(strdup(cfg_getstr(cfg_misc, "bar_position")), "top") == 0) ? True : False;
|
conf.bartop = (strcmp(strdup(cfg_getstr(cfg_misc, "bar_position")), "top") == 0) ? True : False;
|
||||||
|
|
||||||
/* font */
|
/* font */
|
||||||
|
|||||||
6
layout.c
6
layout.c
@ -37,8 +37,6 @@ freelayout(void)
|
|||||||
{
|
{
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
tags[seltag].layout.func = freelayout;
|
|
||||||
|
|
||||||
for(c = clients; c; c = c->next)
|
for(c = clients; c; c = c->next)
|
||||||
{
|
{
|
||||||
if(!ishide(c))
|
if(!ishide(c))
|
||||||
@ -99,8 +97,6 @@ maxlayout(void)
|
|||||||
{
|
{
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
tags[seltag].layout.func = maxlayout;
|
|
||||||
|
|
||||||
for(c = nexttiled(clients); c; c = nexttiled(c->next))
|
for(c = nexttiled(clients); c; c = nexttiled(c->next))
|
||||||
{
|
{
|
||||||
c->tile = False;
|
c->tile = False;
|
||||||
@ -171,8 +167,6 @@ tile(void)
|
|||||||
nm = tags[seltag].nmaster;
|
nm = tags[seltag].nmaster;
|
||||||
mht = mh - ((conf.bartop) ? 0 : barheight);
|
mht = mh - ((conf.bartop) ? 0 : barheight);
|
||||||
|
|
||||||
tags[seltag].layout.func = tile;
|
|
||||||
|
|
||||||
/* count all the "can-be-tiled" client */
|
/* count all the "can-be-tiled" client */
|
||||||
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next), ++n);
|
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next), ++n);
|
||||||
if(n == 0)
|
if(n == 0)
|
||||||
|
|||||||
1
wmfs.h
1
wmfs.h
@ -41,7 +41,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
|
|||||||
26
wmfsrc
26
wmfsrc
@ -31,21 +31,21 @@ colors
|
|||||||
layouts
|
layouts
|
||||||
{
|
{
|
||||||
layout { type = "tile" symbol = "TILE" }
|
layout { type = "tile" symbol = "TILE" }
|
||||||
layout { type = "max" symbol = "MAX" }
|
layout { type = "max" symbol = "MAX" }
|
||||||
layout { type = "free" symbol = "FREE" }
|
layout { type = "free" symbol = "FREE" }
|
||||||
}
|
}
|
||||||
|
|
||||||
tags
|
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 = "two" }
|
||||||
tag { name = "three" }
|
tag { name = "three" }
|
||||||
tag { name = "four" }
|
tag { name = "four" }
|
||||||
tag { name = "five" }
|
tag { name = "five" }
|
||||||
tag { name = "six" }
|
tag { name = "six" }
|
||||||
tag { name = "seven" }
|
tag { name = "seven" }
|
||||||
tag { name = "eight" }
|
tag { name = "eight" }
|
||||||
tag { name = "nine" }
|
tag { name = "nine" }
|
||||||
}
|
}
|
||||||
|
|
||||||
buttons
|
buttons
|
||||||
@ -54,20 +54,20 @@ buttons
|
|||||||
button
|
button
|
||||||
{
|
{
|
||||||
text = "[-]"
|
text = "[-]"
|
||||||
mouse { button = "Button1" func = "set_mwfact" cmd = "-0.01"}
|
mouse { button = "Button1" func = "set_mwfact" cmd = "-0.01" }
|
||||||
fg_color = "#FFFFFF"
|
fg_color = "#FFFFFF"
|
||||||
bg_color = "#191919"
|
bg_color = "#191919"
|
||||||
}
|
}
|
||||||
button
|
button
|
||||||
{
|
{
|
||||||
text = "Mwfact" fg_color = "#FFFFFF" bg_color = "#3E3E3E"
|
text = "Mwfact" fg_color = "#FFFFFF" bg_color = "#3E3E3E"
|
||||||
mouse { button = "Button4" func = "set_mwfact" cmd = "+0.01"}
|
mouse { button = "Button4" func = "set_mwfact" cmd = "+0.01" }
|
||||||
mouse { button = "Button5" func = "set_mwfact" cmd = "-0.01"}
|
mouse { button = "Button5" func = "set_mwfact" cmd = "-0.01" }
|
||||||
}
|
}
|
||||||
button
|
button
|
||||||
{
|
{
|
||||||
text = "[+] "
|
text = "[+] "
|
||||||
mouse { button = "Button1" func = "set_mwfact" cmd = "+0.01"}
|
mouse { button = "Button1" func = "set_mwfact" cmd = "+0.01" }
|
||||||
fg_color = "#FFFFFF"
|
fg_color = "#FFFFFF"
|
||||||
bg_color = "#191919"
|
bg_color = "#191919"
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ buttons
|
|||||||
button
|
button
|
||||||
{
|
{
|
||||||
text = "[-]"
|
text = "[-]"
|
||||||
mouse { button = "Button1" func = "set_nmaster" cmd = "-1"}
|
mouse { button = "Button1" func = "set_nmaster" cmd = "-1" }
|
||||||
fg_color = "#FFFFFF"
|
fg_color = "#FFFFFF"
|
||||||
bg_color = "#191919"
|
bg_color = "#191919"
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ buttons
|
|||||||
button
|
button
|
||||||
{
|
{
|
||||||
text = "[+] "
|
text = "[+] "
|
||||||
mouse { button = "Button1" func = "set_nmaster" cmd = "+1"}
|
mouse { button = "Button1" func = "set_nmaster" cmd = "+1" }
|
||||||
fg_color = "#FFFFFF"
|
fg_color = "#FFFFFF"
|
||||||
bg_color = "#191919"
|
bg_color = "#191919"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user