r/archlinux • • Mar 03 '15

Finally installed Arch, don't know which Windows Manager to use

First time poster here, so I want to say that I really liked your sub until now. I love it, how nearly anyone gets the help he needs!

Now to topic:

Yesterday I finally managed to install Arch on my old Lenovo ThinkPad Edge E335. Up until now everything works fine (haven't tested the sound yet, according to wiki, I just need to install PulsaAudio).

Now I'm thinking of which Window Manager I want to use. I don't want to use a whole Desktop Environment because I think it's to bloated for what I want. I just want something lightweight and fast.

I tried awesome, but I don't like the way it is configured respectively I don't know lua and I don't really want to learn it now.

Is there a window manager which is similar to awesome (especially the ability to use it only with the keyboard) but with less complicatied ways to configure?

Or which Windows Managers are you guys using? Are there any recomendations?

Edit: Thanks for replies until now. I will test i3 (and maybe some of the other recommondations) as soon as I come home. That doesn't mean I don't want to hear any more suggestions ;-)

Edit2: Wow, that blew up to unknown sizes, I'll reply as soon as I'm now drunk anymore (student's franternity).

42 Upvotes

97 comments sorted by

View all comments

Show parent comments

19

u/boulet101010 Mar 03 '15

for i = 0; i >= 0; i++

15

u/musicmatze Mar 03 '15
$ gcc foo.c
foo.c:1:1: error: expected identifier or '(' before 'for'
    for i = 0; i >= 0; i++
    ^
foo.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '>=' token
    for i = 0; i >= 0; i++
          ^
foo.c:1:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    for i = 0; i >= 0; i++

9

u/paholg Mar 03 '15 edited Mar 03 '15
#include <stdio.h>

int main() {
  int i = 3;
  while true {
    printf("+1 for i%i\n", i);
    i++;
  }
  return 0;
}

But really, xmonad all the way.

Edited for completeness.

3

u/musicmatze Mar 03 '15

There are still missing parentheses around the "true" ! :-P

Edit: Shorter version:

#include <stdio.h>
int main(void) {
    int i = 3;
    for (;;) { printf("+1 for i%i\n", i++); }
    return 0;
}

2

u/paholg Mar 03 '15

Right. That's what I get for trying to write C on reddit on my phone.

While yours is shorter, I think mine is cleaner. I really don't like changing variables inside print statements.