You are not logged in.

#26 2005-03-07 16:33:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

Dusty wrote:

I'll investigate it, I've never heard of this hook config... you sure you aren't confused with ion? :-D

no, skoal mentioned it in another thread... you can hook-client, but there's no unhook action (that's the name hook-client)

Offline

#27 2005-03-07 16:40:16

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: minimalist WMs

phrakture wrote:
Dusty wrote:

I'll investigate it, I've never heard of this hook config... you sure you aren't confused with ion? :-D

no, skoal mentioned it in another thread... you can hook-client, but there's no unhook action (that's the name hook-client)

Yep, I found it, it works perfectly. Now you tell me there's no unhook action. Grrrr. Oddly enough though, I can't find the action in any of the conf files, so who the hell is saving it!? wink

Offline

#28 2005-03-07 16:59:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

hmmm according to the code, there *is* an unhook action...

it's saved in wmi.session like:
client.<classname>::<instancename>.hooked = <workspacename>

or at least it should be

Offline

#29 2005-03-07 17:34:06

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: minimalist WMs

You're on roll, keep on contradicting me.

You're right, the hooked line IS there now. When I looked at it before I hadn't logged out of wmi yet, so apparently wmi.session isn't updated until you log out.

I can't find unhook-client on the input bar.

Dusty

Offline

#30 2005-03-07 17:44:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

Dusty wrote:

I can't find unhook-client on the input bar.

Yeah, I can't either... but it's in the code... weird... I guess you can just remove the session line...

Offline

#31 2005-03-08 21:18:22

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

so I've discovered some things about wmii:
I like it

The part I didn't like was the configuration.  However, it's not supposed to work that way.  For now it is a barebones setup.  I'm going to throw together a rough python configuration system to make it easier - talking to people on the wmi-devel list now about it.

If all goes well, the new version of wmizer will incorporate the interface as well (which will allow for dynamic changing of properties... no need to restart).

I'll try suggesting a fix for the unhook-client thing to wmi-10, though it's no longer in development, perhaps they'll still accept patches...

Offline

#32 2005-03-08 21:38:21

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: minimalist WMs

I'll follow you wherever you go....

tongue

Dusty

Offline

#33 2005-03-08 21:45:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

phrakture wrote:
Dusty wrote:

I can't find unhook-client on the input bar.

Yeah, I can't either... but it's in the code... weird... I guess you can just remove the session line...

AHA! unhook-client only appears if the focused client is hooked

Offline

#34 2005-03-08 21:58:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: minimalist WMs

only its not working.... cause I have firefox hooked, and its focused... and there's no unhook-client in the input bar...

Dusty

Offline

#35 2005-03-08 22:01:27

dadexter
Member
From: Dorval, QC, Canada
Registered: 2004-09-07
Posts: 274
Website

Re: minimalist WMs

huh? hooked? you lost me there tongue

Offline

#36 2005-03-08 22:34:02

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

Dusty wrote:

only its not working.... cause I have firefox hooked, and its focused... and there's no unhook-client in the input bar...

Dusty

hmmm gmail is down right now, but i asked the wmi-devel list about it... and the head developer responded with "it works fine for me, it only comes up when it's in the right context"

however I looked at the code... when a window is hooked, the it sets the value of the hooked property to the window's name, when it is unhooked it is set to "" - but the validation function for unhook-client only returns true if (client->hooked() == "")... which I don't think is right...

Offline

#37 2005-03-08 22:54:17

dadexter
Member
From: Dorval, QC, Canada
Registered: 2004-09-07
Posts: 274
Website

Re: minimalist WMs

gmail is down?

that's bad... I thought I had felt a great disturbance in the force... that was it!!!



P.S.: I'm at work, bored and tired... and done in 5 minuites so you'll have to excuse me tongue

Offline

#38 2005-03-09 06:32:14

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: minimalist WMs

phrakture wrote:

when a window is hooked, the it sets the value of the hooked property to the window's name, when it is unhooked it is set to "" - but the validation function for unhook-client only returns true if (client->hooked() == "")... which I don't think is right...

yeah, validation is wrong... I changed it in the source to check... works perfect now...

Offline

Board footer

Powered by FluxBB