[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] Re: run-or-raise firefox
From: |
Jeremy Hankins |
Subject: |
[STUMP] Re: run-or-raise firefox |
Date: |
Sun, 26 Nov 2006 18:15:44 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) |
Jay Belanger <address@hidden> writes:
> Thanks; how odd that the remote argument isn't listed under
> firefox --help.
> There's also the problem of what to do if I want to bring firefox to
> the top but not necessarily open a new url. With emacs, for example,
> I have
> (define-stumpwm-command "Emacs" ()
> (run-or-raise "emacs -T EMACS" :title "EMACS"))
> in my .stumprc; then "Emacs" will either raise a running Emacs, or if
> there isn't one, start a new Emacs.
Why don't you use the class and/or instance? That should work both for
firefox and for emacs. That way you can set the title to something
interesting. Unless maybe you have multiple emacs/firefox windows, and
you only want this behavior with one of them?
--
Jeremy Hankins <address@hidden>
PGP fingerprint: 748F 4D16 538E 75D6 8333 9E10 D212 B5ED 37D0 0A03
Re: [STUMP] run-or-raise firefox, Shawn Betts, 2006/11/26