You are not logged in.

#26 2010-07-05 04:21:42

schen
Member
Registered: 2009-06-06
Posts: 468

Re: catwm, Cute and Tiny Window Manager

I will try this out when I get home. Looks nice!

Offline

#27 2010-07-05 07:25:30

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

zenny wrote:

compiled using makepkg and installed. Added 'exec catwm' in .xinitrc. Now I am confused with the usage? What key combinations gives what? New to this. Thanks.

Watch the config.h file... There is some baisc shortuct in.

If you want to change/add/delete them you need to change this file and compile the program again.

Offline

#28 2010-07-05 07:26:35

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

sicpsnake wrote:

Very, very nice! It uses even less memory than DWM. smile I can't wait to see how awesome catwm will be in it's mature stages. I really would like to see a bottom stack layout implemented by default, but I'm not complaining. I really appreciate the work you've done so far.

Hi, thanks for comment wink

I will probably not implement a stack because I don't use it, but if I have the time I can try to make a patch with this functionnality.

Offline

#29 2010-07-05 20:57:33

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

Multiple desktops is working \o/ (but I didn't test it a very long time)

Offline

#30 2010-07-06 00:01:08

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

Wow! This may seriously replace awesomewm on my laptop!

EDIT: Actually, I had a look around the code on github, and I may want to help out smile

EDIT EDIT: catwm is now my full-time window manager!

Last edited by cesura (2012-03-03 20:33:33)

Offline

#31 2010-07-06 07:23:42

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

itsbrad212 wrote:

EDIT: Actually, I had a look around the code on github, and I actually may want to help out smile

I will change the git server one of these days, I just got my own server and I installed git on it... I'm just waiting for my domain name.
If you are interested I'll contact you soon.

itsbrad212 wrote:

EDIT EDIT: catwm is now my full-time window manager!

Awesome!! I thought I was the only one who use it wink

Offline

#32 2010-07-06 07:58:31

sicpsnake
Member
From: Austin, TX.
Registered: 2010-02-25
Posts: 128
Website

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
sicpsnake wrote:

Very, very nice! It uses even less memory than DWM. smile I can't wait to see how awesome catwm will be in it's mature stages. I really would like to see a bottom stack layout implemented by default, but I'm not complaining. I really appreciate the work you've done so far.

Hi, thanks for comment wink

I will probably not implement a stack because I don't use it, but if I have the time I can try to make a patch with this functionnality.

I'd like that very much. smile

I'd like to make a suggestion, if that is okay: Would it be possible to make the focus of a client change depending on whether or not the cursor is placed above the client and not only with mod-j, much like DWM does? I occasionally move my mouse over a client to change the focus as a force of habit and I'd like it a lot if Catwm had this functionality.

Offline

#33 2010-07-06 08:07:34

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

sicpsnake wrote:
pyknite wrote:
sicpsnake wrote:

Very, very nice! It uses even less memory than DWM. smile I can't wait to see how awesome catwm will be in it's mature stages. I really would like to see a bottom stack layout implemented by default, but I'm not complaining. I really appreciate the work you've done so far.

Hi, thanks for comment wink

I will probably not implement a stack because I don't use it, but if I have the time I can try to make a patch with this functionnality.

I'd like that very much. smile

I'd like to make a suggestion, if that is okay: Would it be possible to make the focus of a client change depending on whether or not the cursor is placed above the client and not only with mod-j, much like DWM does? I occasionally move my mouse over a client to change the focus as a force of habit and I'd like it a lot if Catwm had this functionality.

Yep it's planned... And the possibility to swap a window to an another desktop (I'll make that tonight normaly)

Offline

#34 2010-07-06 09:18:46

sicpsnake
Member
From: Austin, TX.
Registered: 2010-02-25
Posts: 128
Website

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
sicpsnake wrote:
pyknite wrote:

Hi, thanks for comment wink

I will probably not implement a stack because I don't use it, but if I have the time I can try to make a patch with this functionnality.

I'd like that very much. smile

I'd like to make a suggestion, if that is okay: Would it be possible to make the focus of a client change depending on whether or not the cursor is placed above the client and not only with mod-j, much like DWM does? I occasionally move my mouse over a client to change the focus as a force of habit and I'd like it a lot if Catwm had this functionality.

Yep it's planned... And the possibility to swap a window to an another desktop (I'll make that tonight normaly)

CatWM is winning over my heart. big_smile

Offline

#35 2010-07-06 16:08:28

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

I just add the possiblity to swap the current window to an other desktop \o/

I think that I will implement one or two more function (like select a window with the mouse) and after that I think I'll need to "purge" a little the code because it begin to be crappy sad

btw, if someone know how to detect "unmanaged" window (like the file explorer when you open a file in a program or the download popup of firefox) I'll really appreciate the tip because I detected some bug with these window sad

Offline

#36 2010-07-06 16:24:30

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

Suggestion: The ability to increment and decrement the desktop with the Mod key + Left/Right.

Example: I was on, say, desktop 4. I hit Mod+Left and it switches to desktop 3.

I know this code doesn't work with catwm, it is just "theroretical".

void next_desktop() {
         if(current_desktop == 9) {
                 change_desktop(0);
         }
         else {
                 change_desktop(current_desktop+1);
         }
 } 
void prev_desktop() {
         if(current_desktop == 0) {
                 change_desktop(9);
         }
         else {
                 change_desktop(current_desktop-1);
         }
}
    {  MOD,        XK_Left,            prev_desktop,   {NULL}},
    {  MOD,        XK_Right,            next_desktop,   {NULL}}

Last edited by cesura (2010-07-06 16:25:26)

Offline

#37 2010-07-06 16:46:37

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

itsbrad212 wrote:

Suggestion: The ability to increment and decrement the desktop with the Mod key + Left/Right.

Example: I was on, say, desktop 4. I hit Mod+Left and it switches to desktop 3.

I know this code doesn't work with catwm, it is just "theroretical".

void next_desktop() {
         if(current_desktop == 9) {
                 change_desktop(0);
         }
         else {
                 change_desktop(current_desktop+1);
         }
 } 
void prev_desktop() {
         if(current_desktop == 0) {
                 change_desktop(9);
         }
         else {
                 change_desktop(current_desktop-1);
         }
}
    {  MOD,        XK_Left,            prev_desktop,   {NULL}},
    {  MOD,        XK_Right,            next_desktop,   {NULL}}

Done !!

Offline

#38 2010-07-06 16:49:36

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
itsbrad212 wrote:

Suggestion: The ability to increment and decrement the desktop with the Mod key + Left/Right.

Example: I was on, say, desktop 4. I hit Mod+Left and it switches to desktop 3.

I know this code doesn't work with catwm, it is just "theroretical".

void next_desktop() {
         if(current_desktop == 9) {
                 change_desktop(0);
         }
         else {
                 change_desktop(current_desktop+1);
         }
 } 
void prev_desktop() {
         if(current_desktop == 0) {
                 change_desktop(9);
         }
         else {
                 change_desktop(current_desktop-1);
         }
}
    {  MOD,        XK_Left,            prev_desktop,   {NULL}},
    {  MOD,        XK_Right,            next_desktop,   {NULL}}

Done !!

Awesome, works great! smile

Offline

#39 2010-07-06 17:44:59

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: catwm, Cute and Tiny Window Manager

Hey again. I think I found a minor bug in the fullscreen mplayer toggling. Whenever I press fullscreen in mplayer it uses almost the whole screen except for the top and left side of screen (where I see my border color), and whenever I toggle (un-fullscreen) mplayer it moves the window down and to the right another pixel. If I keep toggling fullscreen back and forth it continuously moves the window further down and to the right. Not a big deal but I was wondering if I'm the only person experiencing this or not.

P.S. I like the desktops! Especially glad to move windows to another desktop, although it messes up sometimes when re-tiling the windows. I like how catwm is turning out. :}

Offline

#40 2010-07-06 17:59:39

basov
Member
Registered: 2008-07-29
Posts: 30

Re: catwm, Cute and Tiny Window Manager

Gave it a try just a moment ago
and I'm already liking it

I think I may just leave awesome.

Offline

#41 2010-07-06 18:15:15

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

A screenshot smile

http://img641.imageshack.us/img641/9858/currenta.jpg

Last edited by cesura (2010-07-06 18:16:27)

Offline

#42 2010-07-06 18:22:39

jck
Member
From: USA
Registered: 2009-05-08
Posts: 98

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
itsbrad212 wrote:

Suggestion: The ability to increment and decrement the desktop with the Mod key + Left/Right.

Example: I was on, say, desktop 4. I hit Mod+Left and it switches to desktop 3.

I know this code doesn't work with catwm, it is just "theroretical".

void next_desktop() {
         if(current_desktop == 9) {
                 change_desktop(0);
         }
         else {
                 change_desktop(current_desktop+1);
         }
 } 
void prev_desktop() {
         if(current_desktop == 0) {
                 change_desktop(9);
         }
         else {
                 change_desktop(current_desktop-1);
         }
}
    {  MOD,        XK_Left,            prev_desktop,   {NULL}},
    {  MOD,        XK_Right,            next_desktop,   {NULL}}

Done !!

Why not just change the change desktop function to this:

void change_desktop(const Arg arg) {
    client *c;
    if(arg.i > 9) {
        change_desktop(0);
        return; 
    }

    if(arg.i < 0) {
        change_desktop(9);
        return;
    }

    if(arg.i == current_desktop)
        return;

    // Unmap all window
    if(head != NULL)
        for(c=head;c;c=c->next)
            XUnmapWindow(dis,c->win);

    // Save current "properties"
    save_desktop(current_desktop);

    // Take "properties" from the new desktop
    select_desktop(arg.i);

    // Map all windows
    if(head != NULL)
        for(c=head;c;c=c->next)
            XMapWindow(dis,c->win);

    tile();
    update_current();
}

and config.h to this:

    {  MOD,        XK_Left,        change_desktop,   {.i = current_desktop - 1}},
    {  MOD,        XK_Right,            change_desktop,   {.i = current_desktop + 1}}

This will cut down the need for two extra functions..

Last edited by jck (2010-07-06 18:28:14)

Offline

#43 2010-07-06 20:13:28

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

jck wrote:

This will cut down the need for two extra functions..

Yep, great idea, thank you... I made the functionnality to quickly, I didn't take the time to think sad

I'll change that tomorow.

Offline

#44 2010-07-06 20:17:39

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

First bug report from me:

Pressing the caps lock button renders the entire WM unresponsive. I'll see what I can do about it.

Offline

#45 2010-07-06 20:37:45

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

itsbrad212 wrote:

First bug report from me:

Pressing the caps lock button renders the entire WM unresponsive. I'll see what I can do about it.

What do you mean by unresponive?
If your shortcut doesn't work anymore it's normal...

Offline

#46 2010-07-06 21:14:12

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
itsbrad212 wrote:

First bug report from me:

Pressing the caps lock button renders the entire WM unresponsive. I'll see what I can do about it.

What do you mean by unresponive?
If your shortcut doesn't work anymore it's normal...

No control of anything.
Switching desktops and everything else doesn't work (I can understand shortcuts, because MOD+k is different than MOD+K)

EDIT: Also, I am experiencing the above problem after I close all instances of firefox, regardless of whether caps lock is on or not.

Last edited by cesura (2010-07-06 21:21:47)

Offline

#47 2010-07-06 22:09:34

pyknite
Member
Registered: 2010-03-03
Posts: 166

Re: catwm, Cute and Tiny Window Manager

itsbrad212 wrote:
pyknite wrote:
itsbrad212 wrote:

First bug report from me:

Pressing the caps lock button renders the entire WM unresponsive. I'll see what I can do about it.

What do you mean by unresponive?
If your shortcut doesn't work anymore it's normal...

No control of anything.
Switching desktops and everything else doesn't work (I can understand shortcuts, because MOD+k is different than MOD+K)

EDIT: Also, I am experiencing the above problem after I close all instances of firefox, regardless of whether caps lock is on or not.

Ok, as you say with caps lock it's normal that your shortcuts doesn't work... But after closing firefox isn't sad I'm  trying to reproduce the bug but I can't get it on my machine sad

Last edited by pyknite (2010-07-06 22:17:58)

Offline

#48 2010-07-06 22:50:10

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: catwm, Cute and Tiny Window Manager

pyknite wrote:
itsbrad212 wrote:
pyknite wrote:

What do you mean by unresponive?
If your shortcut doesn't work anymore it's normal...

No control of anything.
Switching desktops and everything else doesn't work (I can understand shortcuts, because MOD+k is different than MOD+K)

EDIT: Also, I am experiencing the above problem after I close all instances of firefox, regardless of whether caps lock is on or not.

Ok, as you say with caps lock it's normal that your shortcuts doesn't work... But after closing firefox isn't sad I'm  trying to reproduce the bug but I can't get it on my machine sad

Hmm...closing firefox normally seems to be alright most of the time, but killall firefox seems to reproduce this.

EDIT: It also happens after firefox crashes. There are no such issues with uzbl.

Last edited by cesura (2010-07-07 01:49:44)

Offline

#49 2010-07-06 23:25:43

Lokaltog
Member
From: Norway
Registered: 2009-12-04
Posts: 53
Website

Re: catwm, Cute and Tiny Window Manager

I'm curious about this project, but can anyone tell me what separates catwm from dwm (except the 1000 SLOC rule instead of 2000 SLOC smile )?

Offline

#50 2010-07-07 02:20:33

sicpsnake
Member
From: Austin, TX.
Registered: 2010-02-25
Posts: 128
Website

Re: catwm, Cute and Tiny Window Manager

I think I found a bug.

Sometimes, if open a window on a desktop that has no windows open currently, it will act as if there is a slave window beside it. Here's a screenshot.

tNHV3cQ

Offline

Board footer

Powered by FluxBB