Source

pcw / config.def.h

Diff from to

File config.def.h

 /*
  * The default command
  */
-#define CMD { "urxvt", "-title", paths[wd], "-e", "srw", "-p", channel, "cw", out, in, NULL }
+#define CMD { "urxvt", "-title", w->path, "-e", "srw", "-p", channel, "cw", out, in, NULL }
 
 /*
  * Use this if for some reason you really don't want to use srw, it's not necessary, but it makes
  * everything much nicer, there's a reason, it's the default...
  */
-//#define CMD { "urxvt", "-title", paths[wd], "-e", "cw", out, in, NULL }
+//#define CMD { "urxvt", "-title", w->path, "-e", "cw", out, in, NULL }
 
 
 /*
  * nick if you don't want to use -n nick every time, then place it in your path. It is not installed
  * by default.
  */
-//#define CMD { "urxvt", "-title", paths[wd], "-e", "srw", "-p", channel, "cw_color.sh", out, in, nick, NULL }
+//#define CMD { "urxvt", "-title", w->path, "-e", "srw", "-p", channel, "cw_color.sh", out, in, nick, NULL }
 
 /*
  * Use this if you want to use tabbed (http://tools.suckless.org/tabbed) so that each new channel is
  * It would be fairly simple to do all three steps in a script, have fun! (and you can add the color
  * too if you want)
  */
-//#define CMD { "urxvt", "-embed", getenv("pcw_window_id"), "-title", paths[wd], "-e", "srw", "-p", channel, "cw", out, in, NULL }
+//#define CMD { "urxvt", "-embed", getenv("pcw_window_id"), "-title", w->path, "-e", "srw", "-p", channel, "cw", out, in, NULL }