[2008-11-04 11:04] [EMAIL PROTECTED] [EMAIL PROTECTED]
Lets say kopete_events.sh:
#!/bin/bash
/usr/bin/wmu 1 `/usr/bin/xwininfo -int -name Kopete|egrep Window\ id:|cut
-d' ' -f4`
More general:
#!/bin/sh
if [ $# -ne 1 ] ; then
echo usage: $0 windowtitle;
exit 1;
fi
On (04/11/08 16:37), yy wrote:
To: dwm mail list dwm@suckless.org
From: yy [EMAIL PROTECTED]
Subject: Re: [dwm] How to detect TAG activity?
Reply-To: dwm mail list dwm@suckless.org
List-Id: dwm mail list dwm.suckless.org
2008/11/4 markus schnalke [EMAIL PROTECTED]:
I think it is worth to
On (04/11/08 11:04), [EMAIL PROTECTED] wrote:
To: Matthias Kirschner [EMAIL PROTECTED], dwm@suckless.org
From: [EMAIL PROTECTED]
Subject: Re: [dwm] How to detect TAG activity?
Reply-To: dwm mail list dwm@suckless.org
List-Id: dwm mail list dwm.suckless.org
User-Agent: Mutt/1.5.18
On 11/4/08, yy [EMAIL PROTECTED] wrote:
I could do it. I can submit it today or tomorrow, but then I think wmu
should be included in the hg repository (the script could go inside
i thought xprop can do this (setting the urgency flag of the WM_HINTS
property), but it seems xprop is a fail
+1
2008/11/4 Premysl Hruby [EMAIL PROTECTED]:
On (04/11/08 16:37), yy wrote:
To: dwm mail list dwm@suckless.org
From: yy [EMAIL PROTECTED]
Subject: Re: [dwm] How to detect TAG activity?
Reply-To: dwm mail list dwm@suckless.org
List-Id: dwm mail list dwm.suckless.org
2008/11/4 markus schnalke
Reparenting everything to init with the double-fork is a nightmare on a
many-user machine, especially when I'm logged in more than once. pstree
becomes useless. This sets up a SIGCHLD handler and only forks once.
Adds 2 SLOC, but surely there's some reason the double-fork is there that
I'm just
This simple modification to setlayout causes a binding to toggle if it's
already in the requested layout.
void
setlayout(const Arg *arg)
{
sellt ^= 1;
if(arg arg-v (arg-v != lt[sellt]))
lt[sellt] = (Layout *)arg-v;
if(sel)
arrange();
else
drawbar();
}
Now Alt-M toggles in
[2008-11-04 17:11] Premysl Hruby [EMAIL PROTECTED]
Hi, I've added you script (with markus schnalke's generalization) to the
wmu's repo. thx.
thanks.
btw: call me `meillo` :-)
meillo
signature.asc
Description: Digital signature
Nice! I can't wait to try this out, I constantly hit mod-m to try to switch
out of monocle mode yet somehow I never thought to implement this feature...
-Niki Yoshiuchi
On Tue, Nov 4, 2008 at 12:13 PM, Neale Pickett [EMAIL PROTECTED] wrote:
This simple modification to setlayout causes a
Hi Premysl,
your app works perfectly,
I've set Kopete to execute:
wmu 1 `xwininfo -int -name Kopete|egrep Window\ id:|cut -d' ' -f4`
upon new messages.
Thank you.
Veselin
On Mon, Nov 03, 2008 at 05:17:29PM +0100, Premysl Hruby wrote:
On (03/11/08 16:02), [EMAIL PROTECTED] wrote:
To: dwm
Hello Matthias,
For a cleaner approach,
just put that command into a shell script.
Lets say kopete_events.sh:
#!/bin/bash
/usr/bin/wmu 1 `/usr/bin/xwininfo -int -name Kopete|egrep Window\ id:|cut
-d' ' -f4`
Assuming that you installed wmu in /usr/bin
Make kopete_events.sh executable.
Then,
Hi Veselin,
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2008-11-04 11:04:32 +]:
For a cleaner approach,
[...]
Thank you very much! That is really cool :)
Best wishes,
Matthias
On Tue, Nov 4, 2008 at 9:13 AM, Neale Pickett [EMAIL PROTECTED] wrote:
This simple modification to setlayout causes a binding to toggle if it's
already in the requested layout.
Now Alt-M toggles in and out of Monocle, etc. I far prefer this
behavior, YMMV.
This is a great idea and one I
On Tue, Nov 04, 2008 at 10:13:21AM -0700, Neale Pickett wrote:
This simple modification to setlayout causes a binding to toggle if it's
already in the requested layout.
void
setlayout(const Arg *arg)
{
sellt ^= 1;
if(arg arg-v (arg-v != lt[sellt]))
lt[sellt] = (Layout *)arg-v;
After a quick look, I think the last check in the first if should be
arg-v != lt[sellt^1]
--
- yiyus || JGL .
That did the trick, thanks!
On Tue, Nov 4, 2008 at 12:31 PM, yy [EMAIL PROTECTED] wrote:
After a quick look, I think the last check in the first if should be
arg-v != lt[sellt^1]
yy [EMAIL PROTECTED] writes:
After a quick look, I think the last check in the first if should be
arg-v != lt[sellt^1]
Yes, that's what it should have said. I wonder how it was working for
me before, when I sent the code to the list. [cue twilight zone music]
Here's what it should have
17 matches
Mail list logo