소스 검색

cleaned the CUSTOMIZE flags

arg@10ksloc.org 19 년 전
부모
커밋
2b5553b1eb
3개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      dwm.h
  2. 2 0
      event.c
  3. 5 3
      tag.c

+ 2 - 2
dwm.h

@@ -5,7 +5,7 @@
 
 #include <X11/Xlib.h>
 
-/********** CUSTOMIZE **********/
+/* CUSTOMIZE */
 
 #define FONT				"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
 #define BGCOLOR				"#0a2c2d"
@@ -23,7 +23,7 @@
 /* tags */
 enum { Tscratch, Tdev, Twww, Twork, TLast };
 
-/********** CUSTOMIZE **********/
+/* END CUSTOMIZE */
 
 typedef union Arg Arg;
 typedef struct Client Client;

+ 2 - 0
event.c

@@ -59,6 +59,8 @@ static Key key[] = {
 	{ MODKEY|ShiftMask,	XK_Return,	spawn,		{ .argv = term } },
 };
 
+/* END CUSTOMIZE */
+
 /* static */
 
 static void

+ 5 - 3
tag.c

@@ -25,17 +25,19 @@ static Rule rule[] = {
 	{ "Gimp.*",		{ 0 },				True},
 };
 
-/* extern */
-
-/* CUSTOMIZE */
 char *tags[TLast] = {
 	[Tscratch] = "scratch",
 	[Tdev] = "dev",
 	[Twww] = "www",
 	[Twork] = "work",
 };
+
 void (*arrange)(Arg *) = dotile;
 
+/* END CUSTOMIZE */
+
+/* extern */
+
 void
 appendtag(Arg *arg)
 {