ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] gsmenu and mousetoxin


From: Joe Corneli
Subject: Re: [RP] gsmenu and mousetoxin
Date: Tue, 13 Jul 2010 20:17:57 +0200

cool, I like anything literate...

On Tue, Jul 13, 2010 at 7:11 PM, Zed Lopez <address@hidden> wrote:
> I don't see that they've been mentioned, so here are a couple of
> projects of interest.
>
> gsmenu is based on Xmonad's gridselect. It's sort of a more graphic
> (but not in a bad way, I feel) dmenu. It's almost certainly much
> easier for selecting among a large number of open windows than the
> dsrat/dsratmenu scripts I posted recently.
>
> http://github.com/Athas/gsmenu
>
> mousetoxin, by the same person, is a re-implementation of ratpoison in
> Haskell. (I haven't looked at or tried to compile it, and have no idea
> what state it's in.)
>
> http://patch-tag.com/r/Athas/Mousetoxin/home
>
> Here's a script that uses gsmenu to select among ratpoison windows.
> There's a zillion different ways you could use it, though -- for
> instance, color code by resource class, or tag (the basis for matching
> the elements to your keyboard input) by some criteria other than
> window title or resource class.
>
> #!/usr/bin/env perl
> use IPC::Open2;
> my ($input, $output);
> my @windows = map { [split /\\000/] } split /\n/, `ratpoison -c
> "windows %c\\000%t\\000%n"`;
> open2($input, $output, 'gsmenu -c -e');
> print $output qq{name="$_->[0]" "$_->[1]" tags="$_->[0]" "$_->[1]"\n}
> for @windows;
> close $output;
> my $i = <$input>;
> exec qq{ratpoison -c "select $windows[$i][2]"}
>
> _______________________________________________
> Ratpoison-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ratpoison-devel
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]