[xmonad] Proposal: Advanced Scratchpad-Features

Roman Cheplyaka roma at ro-che.info
Thu Feb 28 14:42:57 EST 2008


* Adrien Barilly <adrien.barilly at gmail.com> [2008-02-28 19:34:47+0100]
> On Thu, Feb 28, 2008 at 07:08:38PM +0200, Roman Cheplyaka wrote:
> > * Andrew Sackville-West <andrew at swclan.homelinux.org> [2008-02-28 06:49:00-0800]
> > > On Thu, Feb 28, 2008 at 03:41:50PM +0100, Dominik Bruhn wrote:
> > > This is orthagonal to your original question, but as a suggestion for
> > > music players and xmonad, I use mpd and have key bindings that control
> > > it through mpc. I use one key for pause and another for volume
> > > control. Finally I have included pertinent parts of the mpc output in
> > > my xmobar. It's all pretty simple and make a very nice simple music
> > > setup. 
> > 
> > Agree :)
> > 
> > Also I've written a small extension for prompting song name, but I was
> > going to push it after xmonad get locale support.
> > 
> > However, if you need it and don't deal with non-Latin song names, I
> > can push it earlier...
> 
> I made a little script long time ago to play a song by inputting part of
> its name:
> mpc play `mpc playlist | grep -i $1 | tr -d \# | head -n 1 | awk -F\)
> '{print $1}'`
> 
> Might find it useful as well..

Haha. I have something very similar in spirit in my shell.
However, this requires searching some free terminal (or opening a new
one). Plus typing your command alias (I call it 'play').
Prompt extension makes things easier.

-- 
Roman I. Cheplyaka (aka Feuerbach @ IRC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080228/9d279d96/attachment.bin


More information about the xmonad mailing list