soulthreads / xwinmosaic

X11 window switcher with fancy look.
BSD 2-Clause "Simplified" License
47 stars 8 forks source link

immediate action support #13

Open nogweii opened 11 years ago

nogweii commented 11 years ago

Not sure how else to phrase it, but it would be awesome if xwinmosaic supported activating an item in the list immediately after it was focused.

Personally, I've used GridSelect to do this for music control. What'll happen is that I have the music controls layed out, and co-ordinated it so that pause is always 'up', for instance. Anyways, I've developed some muscle memory that Meta-Z, k is pause (as I use vim keybindings).

I think this might be nice. If I'm a bit vague or missing some details, it's a bit late and I may have had a few too many drinks...

soulthreads commented 11 years ago

Interesting idea (and not that difficult to implement). But now I'm curious, what is the way to make GridSelect do that thing?

nogweii commented 11 years ago

Here it is, to control pandora via it's FIFO: https://github.com/evaryont/dotfiles/blob/master/xmonad/lib/Music/Pandora.hs