Re: [dwm] Assign specific tag to a console based program?

From: Chris 'Ducky' Chapin <ducky_AT_duckpond.org>
Date: Sat, 01 Dec 2007 23:39:33 -0800

The terminal client you're using should offer a command line option to
set the title. Search the man page for how it's handled since it varies:
gnome-terminal has a --title or -t option, dtterm has -title, and
old-school xterm should set the title to what -e was given.

I have a "float" rule in my config.h so I can do something similar to
what you're doing, only instead of setting tags, it floats the window.

Ning Bao wrote:
> Hi!
>
> Is there anyway that I can do something in config.h so that can
> achieve the following?
>
> Recognize a console based program, such as "vim" or "emacs" and assign
> a specific tag (for an example, "editor") for these programs?
>
> The window title cannot differentiate console based programs, but how
> can I do this?
>
> Many thanks!
>
>
>
> --
> <img src="
> http://img383.imageshack.us/img383/5981/phabulosaatgmailcm8.png"
> border="0" alt="PHABULOSA_AT_GMAIL.COM <mailto:PHABULOSA_AT_GMAIL.COM>" /></a>
Received on Sun Dec 02 2007 - 08:39:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:08:33 UTC