[dev] [wmii] Update-to-date solution for keyboard window resizing

2010-03-15 Thread Jonas H.

Hi,

I'm searching for an up-to-date solution for window resize via keyboard. 
The version from the Web page didn't work for me.


I'd put together some keybindings myself if someone told me which 
commands I have to execute to resize a client.


Thanks!

Jonas



Re: [dev] [wmii] Update-to-date solution for keyboard window resizing

2010-03-15 Thread julien steinhauser
On Mon, Mar 15, 2010 at 10:08:36PM +0100, Jonas H. wrote:
> 
> Hi,
> 
> I'm searching for an up-to-date solution for window resize via
> keyboard. The version from the Web page didn't work for me.
> 
> I'd put together some keybindings myself if someone told me which
> commands I have to execute to resize a client.
> 
> Thanks!
> 
> Jonas
> 
> 
Hello,

At the time I used wmii, I had these keybindings,
don't know if it is still uptodate as I use dwm
since a while now.

Key $MODKEY-Control-$LEFT
                wmiir xwrite /tag/sel/ctl grow sel sel right -1
        Key $MODKEY-Control-$RIGHT
                wmiir xwrite /tag/sel/ctl grow sel sel right 1
        Key $MODKEY-Control-$DOWN
                wmiir xwrite /tag/sel/ctl grow sel sel down 1
        Key $MODKEY-Control-$UP
                wmiir xwrite /tag/sel/ctl grow sel sel down -1





Re: [dev] [wmii] Update-to-date solution for keyboard window resizing

2010-03-15 Thread Adam Lloyd
On Mon, Mar 15, 2010 at 5:08 PM, Jonas H.  wrote:
> I'd put together some keybindings myself if someone told me which commands I
> have to execute to resize a client.

Check out the section on the /tag/ hierarchy in `man wmii`.  You want
"grow", which you write to /tag//ctl with a frame, direction, and
amount.  For example:

$ wmiir xwrite /tag/sel/ctl grow sel sel left 1

grows the currently selected frame to the left.


Hope that helps!
-Adam



[dev] [surf] script.js

2010-03-15 Thread anonymous
I have tried to put code from http://surf.suckless.org/files/link_hints
to ~/.surf/user.js, but it didn't work. Then I looked at config.h and
moved user.js to script.js. It didn't work too. Even putting
"alert('test');" to script.js don't work. style.css works as expected.

Is there anything I obviously done wrong or how can I get more
information from surf/webkit?