File builders/dwm-50ad171eea9db5ccb36fce2592e047c3282975ff/builder.sh copied from file builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/builder.sh (similarity 97%) (mode: 100644) (index ba33a3e..1837e1d) |
... |
... |
cd $build_dir |
37 |
37 |
# install our config.h |
# install our config.h |
38 |
38 |
cp $nyan_root/builders/dwm-$slot/config.h ./ |
cp $nyan_root/builders/dwm-$slot/config.h ./ |
39 |
39 |
#--------------------------------------------------------------------------------------------------- |
#--------------------------------------------------------------------------------------------------- |
40 |
|
version=6.3 |
|
|
40 |
|
version=6.4 |
41 |
41 |
|
|
42 |
42 |
cppflags="\ |
cppflags="\ |
43 |
43 |
-isystem /nyan/glibc/current/include \ |
-isystem /nyan/glibc/current/include \ |
|
... |
... |
$target_gnu_triple-gcc -Os -pipe -static-libgcc -c $cppflags $pkg_dir/util.c -o |
72 |
72 |
|
|
73 |
73 |
$target_gnu_triple-gcc -pipe -static-libgcc -B/nyan/glibc/current/lib $ldflags $libs -o $build_dir/dwm \ |
$target_gnu_triple-gcc -pipe -static-libgcc -B/nyan/glibc/current/lib $ldflags $libs -o $build_dir/dwm \ |
74 |
74 |
$build_dir/drw.o $build_dir/dwm.o $build_dir/util.o \ |
$build_dir/drw.o $build_dir/dwm.o $build_dir/util.o \ |
|
75 |
|
-Wl,-s \ |
75 |
76 |
-Wl,-rpath-link,\ |
-Wl,-rpath-link,\ |
76 |
77 |
/nyan/glibc/current/lib:\ |
/nyan/glibc/current/lib:\ |
77 |
78 |
/nyan/libXrender/current/lib:\ |
/nyan/libXrender/current/lib:\ |
|
... |
... |
$target_gnu_triple-gcc -pipe -static-libgcc -B/nyan/glibc/current/lib $ldflags $ |
80 |
81 |
|
|
81 |
82 |
mkdir -p /nyan/dwm/$slot/bin |
mkdir -p /nyan/dwm/$slot/bin |
82 |
83 |
cp -f $build_dir/dwm /nyan/dwm/$slot/bin |
cp -f $build_dir/dwm /nyan/dwm/$slot/bin |
83 |
|
$target_gnu_triple-strip -s /nyan/dwm/$slot/bin/dwm |
|
84 |
84 |
|
|
85 |
85 |
export PATH=$PATH_SAVED |
export PATH=$PATH_SAVED |
86 |
86 |
unset PATH_SAVED |
unset PATH_SAVED |
File builders/dwm-50ad171eea9db5ccb36fce2592e047c3282975ff/config.h copied from file builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/config.h (similarity 95%) (mode: 100644) (index 8b9fefb..da6559c) |
... |
... |
static const Rule rules[] = { |
32 |
32 |
// { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, |
// { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, |
33 |
33 |
{ "Steam", NULL, NULL, 0, 0, -1 }, |
{ "Steam", NULL, NULL, 0, 0, -1 }, |
34 |
34 |
{ "npv", NULL, NULL, 0, 1, -1 }, |
{ "npv", NULL, NULL, 0, 1, -1 }, |
35 |
|
{ NULL , NULL, "Celeste", 0, 1, -1 }, |
|
36 |
35 |
}; |
}; |
37 |
36 |
|
|
38 |
37 |
/* layout(s) */ |
/* layout(s) */ |
|
... |
... |
static const Layout layouts[] = { |
64 |
63 |
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } |
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } |
65 |
64 |
|
|
66 |
65 |
/* commands */ |
/* commands */ |
67 |
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ |
|
68 |
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
|
|
66 |
|
//static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
69 |
67 |
static const char *termcmd[] = { "/root/bin/dwm_st.sh", NULL }; |
static const char *termcmd[] = { "/root/bin/dwm_st.sh", NULL }; |
70 |
68 |
static const char *linkscmd[] = { "/root/bin/dwm_links.sh", NULL }; |
static const char *linkscmd[] = { "/root/bin/dwm_links.sh", NULL }; |
71 |
69 |
static const char *bgcmd[] = { "/root/bin/dwm_bg.sh", NULL }; |
static const char *bgcmd[] = { "/root/bin/dwm_bg.sh", NULL }; |
72 |
70 |
static const char *bgtilecmd[] = { "/root/bin/dwm_bg_tile.sh", NULL }; |
static const char *bgtilecmd[] = { "/root/bin/dwm_bg_tile.sh", NULL }; |
73 |
71 |
|
|
74 |
|
static Key keys[] = { |
|
|
72 |
|
static const Key keys[] = { |
75 |
73 |
/* modifier key function argument */ |
/* modifier key function argument */ |
76 |
74 |
//{ MODKEY, XK_p, spawn, {.v = dmenucmd } }, |
//{ MODKEY, XK_p, spawn, {.v = dmenucmd } }, |
77 |
75 |
//{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
//{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
|
... |
... |
static Key keys[] = { |
115 |
113 |
|
|
116 |
114 |
/* button definitions */ |
/* button definitions */ |
117 |
115 |
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ |
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ |
118 |
|
static Button buttons[] = { |
|
|
116 |
|
static const Button buttons[] = { |
119 |
117 |
/* click event mask button function argument */ |
/* click event mask button function argument */ |
120 |
118 |
// { ClkLtSymbol, 0, Button1, setlayout, {0} }, |
// { ClkLtSymbol, 0, Button1, setlayout, {0} }, |
121 |
119 |
// { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, |
// { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, |
File builders/dwm-50ad171eea9db5ccb36fce2592e047c3282975ff/dwm-actualfullscreen.diff copied from file builders/dwm-d3f93c7c1a13a2a78f04fb41ad1935525df948db/dwm-actualfullscreen.diff (similarity 78%) (mode: 100644) (index 5cae649..28c2b03) |
|
1 |
|
diff --git a/dwm.c b/dwm.c |
|
2 |
|
index e5efb6a..8d4acd7 100644 |
1 |
3 |
--- a/dwm.c |
--- a/dwm.c |
2 |
4 |
+++ b/dwm.c |
+++ b/dwm.c |
3 |
5 |
@@ -212,6 +212,7 @@ static void tagmon(const Arg *arg); |
@@ -212,6 +212,7 @@ static void tagmon(const Arg *arg); |
4 |
|
static void tile(Monitor *); |
|
|
6 |
|
static void tile(Monitor *m); |
5 |
7 |
static void togglebar(const Arg *arg); |
static void togglebar(const Arg *arg); |
6 |
8 |
static void togglefloating(const Arg *arg); |
static void togglefloating(const Arg *arg); |
7 |
9 |
+static void togglefullscr(const Arg *arg); |
+static void togglefullscr(const Arg *arg); |
8 |
10 |
static void toggletag(const Arg *arg); |
static void toggletag(const Arg *arg); |
9 |
11 |
static void toggleview(const Arg *arg); |
static void toggleview(const Arg *arg); |
10 |
12 |
static void unfocus(Client *c, int setfocus); |
static void unfocus(Client *c, int setfocus); |
11 |
|
@@ -1728,6 +1729,13 @@ togglefloating(const Arg *arg) |
|
|
13 |
|
@@ -1717,6 +1718,13 @@ togglefloating(const Arg *arg) |
12 |
14 |
arrange(selmon); |
arrange(selmon); |
13 |
15 |
} |
} |
14 |
16 |
|
|