Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Ross Palmer Mohn
On Tue, Oct 02, 2007 at 08:55:10PM -0400, Jeremy O'Brien wrote: > On Tue, Oct 02, 2007 at 08:23:33PM +0100, Thomas Menari wrote: > > On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote: > > > I've been working with cmus lately and am beginning to like. I'd like > > > to take an inform

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Jeremy O'Brien
On Tue, Oct 02, 2007 at 08:23:33PM +0100, Thomas Menari wrote: > On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote: > > I've been working with cmus lately and am beginning to like. I'd like > > to take an informal poll of what console music people use and why. > > I use cmus; it's

Re: [dwm] Announcing "awesome"

2007-10-02 Thread Maarten Maathuis
xcompmgr -a is nice to avoid unnecesary window redraws. Otherwise i don't see the use. Maarten. On 10/2/07, pancake <[EMAIL PROTECTED]> wrote: > Does anyone has tryed "xcompmgr -Ffc" under dwm? :))) > > Quite eyecandy, but not much useful/fast...but nice to see. > > http://news.nopcode.org/wit

Re: [dwm] Announcing "awesome"

2007-10-02 Thread pancake
Does anyone has tryed "xcompmgr -Ffc" under dwm? :))) Quite eyecandy, but not much useful/fast...but nice to see. http://news.nopcode.org/without.png vs http://news.nopcode.org/with.png The yeahlaunch shadow is quite nice to see too, but you have to try it by yourself. I'm not planning to ma

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread y i y u s
2007/10/2, Ross Palmer Mohn <[EMAIL PROTECTED]>: > I've been working with cmus lately and am beginning to like. I'd like > to take an informal poll of what console music people use and why. > I was using this script. It probably has bugs, but should be self-explanatory. I also used a modified dme

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Nagy Mate
greetings, > I do exactly the same thing. It's very nice being able to control mpd > with my laptop's multimedia keys. i do this with moc, with which i also get a reasonable curses interface, little track switching lag, and good streaming audio support (i listen to net radios a lot, so this is imp

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Ricardo Martins
On Tue, 02 Oct 2007 22:05, Christoph Siegenthaler wrote: > I use mpd and ncmpc and like this combo a lot. > I have configured the most common mpc commands to keybindings to be able to > use them everywhere. (I assume that this is quite common under console > music player users ;) I do exactly th

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Christoph Siegenthaler
Ross Palmer Mohn wrote: I've been working with cmus lately and am beginning to like. I'd like to take an informal poll of what console music people use and why. cmus moc mpd -RPM I use mpd and ncmpc and like this combo a lot. I have configured the most common mpc commands to keybindings to be

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Grigorios Bouzakis
On Tue, Oct 02, 2007 at 08:23:33PM +0100, Thomas Menari wrote: > On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote: > > I've been working with cmus lately and am beginning to like. I'd like > > to take an informal poll of what console music people use and why. > > I use cmus; it's

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread David Harris
I use to just use mpg123 and ogg123 directly. Then I noticed that sometimes mpg123 had problems with playlists, so I wrote a simple C program that would list all the urls in a pls file. The user chose the url and then called mpg123. Yet mpg123 didn't have any caching or anything of audio streams.

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Marco Squarcina
On Tue, Oct 02, 2007 at 08:23:33PM +0100, Thomas Menari wrote: > On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote: > > I've been working with cmus lately and am beginning to like. I'd like > > to take an informal poll of what console music people use and why. > > I use cmus; it's

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread markus schnalke
> I've been working with cmus lately and am beginning to like. I'd like > to take an informal poll of what console music people use and why. I started with `mpd/ncmpc' but didn't liked the client/server-approach Then used `moc' (mocp on Debian) for a while, but it was quite unstable with adding

Re: [dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Thomas Menari
On Tue, Oct 02, 2007 at 03:15:33PM -0400, Ross Palmer Mohn wrote: > I've been working with cmus lately and am beginning to like. I'd like > to take an informal poll of what console music people use and why. I use cmus; it's fairly light, doesn't require a daemon, and has a good tree view. It also

[dwm] Console Music poll: cmus/moc/mpd

2007-10-02 Thread Ross Palmer Mohn
I've been working with cmus lately and am beginning to like. I'd like to take an informal poll of what console music people use and why. cmus moc mpd -RPM

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Jeremy O'Brien
On Sun, Sep 30, 2007 at 03:42:33AM -0400, T Biehn wrote: > Anyone have any other things they put in here? Or perhaps better > script coding practices? (I'm just starting out) .xinitrc (dwm section): #***dwm*** if [ $wmchoice = "dwm" ]; then setdotbackground & ~/.xsession &

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Riccardo Murri
On 10/2/07, Enno Gottox Boland <[EMAIL PROTECTED]> wrote: > > ...but it works... > It calculates as well as Excel :) Oops! Still, it's faster :-) > ceil n.0 gives n+1 > e.g. ceil 0.0 gives 1 > if your system has /usr/bin/printf (not the bash builtin):: $ ceil () { /usr/bin/printf '%.0f'

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Enno \"Gottox\" Boland
> ...but it works... It calculates as well as Excel :) ceil n.0 gives n+1 e.g. ceil 0.0 gives 1 2007/10/2, Riccardo Murri <[EMAIL PROTECTED]>: > On 10/2/07, Kurt H Maier <[EMAIL PROTECTED]> wrote: > > If anyone knows how to cast > > floats to int in bash let me know. :V > > > > Not exactly effici

Re: [dwm] C coding question

2007-10-02 Thread Enno "Gottox" Boland
That brings me to another style question: For me, it is easier to read and to understand when I write linked structures that way: typedef struct Abc { ... struct Abc *next; } Abc; ... Abc abc; Is there a reason not to do so? 2007/10/2, Juanval <[EMAIL PROTECTED]>: > On 10/2/07, Anselm R. Garb

Re: [dwm] C coding question

2007-10-02 Thread Juanval
On 10/2/07, Anselm R. Garbe <[EMAIL PROTECTED]> wrote: > On Tue, Oct 02, 2007 at 04:54:21PM +0200, Juanval wrote: > > Hi there, > > > > I'm revamping my C coding skills (in my university they just teach C++ > > and Java, and I had to learn proper C on my own :-S), and I'm reading > > the dwm 4.3 as

Re: [dwm] C coding question

2007-10-02 Thread y i y u s
2007/10/2, Juanval <[EMAIL PROTECTED]>: > Hi there, > > I'm revamping my C coding skills (in my university they just teach C++ > and Java, and I had to learn proper C on my own :-S), and I'm reading > the dwm 4.3 as an exercise, as it seems a very elegantly written piece > of code. > > And I was wo

Re: [dwm] C coding question

2007-10-02 Thread Anselm R. Garbe
On Tue, Oct 02, 2007 at 04:54:21PM +0200, Juanval wrote: > Hi there, > > I'm revamping my C coding skills (in my university they just teach C++ > and Java, and I had to learn proper C on my own :-S), and I'm reading > the dwm 4.3 as an exercise, as it seems a very elegantly written piece > of code

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Riccardo Murri
On 10/2/07, Kurt H Maier <[EMAIL PROTECTED]> wrote: > If anyone knows how to cast > floats to int in bash let me know. :V > Not exactly efficient, but it works (pay attention to the spaces is round(), `expr` is especially picky...):: $ floor () { echo "$1" | sed -e 's|\.[0-9]\+||'; } $ floor

[dwm] C coding question

2007-10-02 Thread Juanval
Hi there, I'm revamping my C coding skills (in my university they just teach C++ and Java, and I had to learn proper C on my own :-S), and I'm reading the dwm 4.3 as an exercise, as it seems a very elegantly written piece of code. And I was wondering why is Client defined this way: --

Re: [dwm] improved tile()

2007-10-02 Thread Anselm R. Garbe
On Tue, Oct 02, 2007 at 01:46:06PM +0100, David Tweed wrote: > I'm still trying to understand what it's doing so can't give a full > bug report, but if Anselm could summarise any key differences in the > way focussing by keyboard vs focussing by mouse enter works, that > might be helpful. Focusing

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread y i y u s
2007/10/2, Kurt H Maier <[EMAIL PROTECTED]>: > I could never get the precision set right. It would either round to > the nearest ten, or there would be a decimal. After about ten minutes > of trying to make it output a value with length 0 and scale 1 or 2, I > used perl. > just divide by 1.0, ie

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread y i y u s
2007/10/2, Kurt H Maier <[EMAIL PROTECTED]>: > I could never get the precision set right. It would either round to > the nearest ten, or there would be a decimal. After about ten minutes > of trying to make it output a value with length 0 and scale 1 or 2, I > used perl. > just divide by 1.0, ie

Re: [dwm] improved tile()

2007-10-02 Thread David Tweed
On 10/2/07, Peter Hartlich <[EMAIL PROTECTED]> wrote: > Oh, now I see why focusnext() and focusprev() originally called > restack(), but enternotify() didn't. This might tie in with something triggered by some modifications I've made that I've been trying to figure out for a week (using dwm-4.4).

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Martin Sander
On Mon, Oct 01, 2007 at 06:46:24PM -0500, Kurt H Maier wrote: > If anyone knows how to cast > floats to int in bash let me know. :V I guess it's not what you're looking for, but zsh can do floating point arithmetic. zshmodules(1): THE ZSH/MATHFUNC MODULE The zsh/mathfunc module provides s

Re: [dwm] [patch] Rectangle Window Manager

2007-10-02 Thread Alpt
On Tue, Oct 02, 2007 at 08:51:28AM +0200, : ~> On Tue, Oct 02, 2007 at 01:51:00AM +0200, Alpt wrote: ~> > Screenshot: ~> > http://www.freaknet.org/alpt/src/patches/rwm/screenshot-rwm-small.jpg ~> ~> Looks to me like the grid() layout function which has been ~> announced on this list as well. Also

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Kurt H Maier
I could never get the precision set right. It would either round to the nearest ten, or there would be a decimal. After about ten minutes of trying to make it output a value with length 0 and scale 1 or 2, I used perl. On 10/2/07, Szabolcs Nagy <[EMAIL PROTECTED]> wrote: > On 10/2/07, Kurt H Mai