[dev] [surf] Dependency on modifier keys

2010-02-23 Thread Sean Whitton
ty to tell surf when a textbox has focus, and then a patch could detect this, and turn off command keys until the box loses focus/escape is hit? S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] [surf] Dependency on modifier keys

2010-02-23 Thread Sean Whitton
to a search engine whose scripts put your cursor straight in the search box anyway, then it's stupid to have to press i first before you can type something in it. I'll try to find the time to see how uzbl does it, as has been suggested. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://

Re: [dev] [surf] Dependency on modifier keys

2010-02-23 Thread Sean Whitton
On Tue, Feb 23, 2010 at 02:19:10PM +, Sean Whitton wrote: > Thanks for that. I've cleaned up the patch to be sure it works with > 0.3, and I've removed all the other things - anyone who is interested > will find it attached. This patch has broken my zoom and scrolling key

Re: [dev] [surf] Dependency on modifier keys

2010-02-23 Thread Sean Whitton
This is what I was thinking. It seems that with this patch you can no longer differentiate between Mod-Shift-j and j - or even Mod-j. Certainly not in the way I was doing it. I've moved things around to get it to work but this may be a problem with the patch. S -- Sean Whitton / OpenP

Re: [dev] [surf] Dependency on modifier keys

2010-02-24 Thread Sean Whitton
ourse. There's another issue though: the patch seems to stop stuff in ~/.surf/script.js from binding keys: my hinting script has totally stopped working. That's quite annoying. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] [surf] Dependency on modifier keys

2010-02-24 Thread Sean Whitton
On Wed, Feb 24, 2010 at 12:25:13PM +0100, julien steinhauser wrote: > If you change ctrl-f to f in your hinting script, does it work better? This is what I did, but unfortunately it makes no difference. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.

[dev] [surf] Who stole the cookies from the cookie jar?

2010-03-11 Thread Sean Whitton
s in fixing bugs, but if I am misinterpreting features as bugs, I would very much appreciate an explication :-) S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] [surf] Who stole the cookies from the cookie jar?

2010-03-11 Thread Sean Whitton
> What do you mean by "stable version"? I've been using 0.3, the .tar.gz download, and am not pulling from Mercurial. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

[dev] [dwm] [patch] Hide window border if window is only one visible, and bar is hidden

2010-03-26 Thread Sean Whitton
been removed on both. You'll have to look for solid/hollow terminal cursors etc. This is just personal preference, but is worth pointing out. I don't speak C so this patch is likely very code inefficient and ugly, and it may well have other bugs. Do let me know if you find the time to cle

Re: [dev] [dmenu] A clickable dmenu is a dream?

2010-03-27 Thread Sean Whitton
e > very useful for arguments. You could type in surf, paste in the url, > and then open surf with that url. You can achieve this with M-p in dmenu-4.0. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] Re: [dmenu] subwindow patch

2010-03-31 Thread Sean Whitton
hat would be even nicer is if dmenu stole mouse/kb control only for the window in question, so you could switch to another window/tag and leave it open while looking up part of a url or something. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] [surf] toggle_images_plugins_scripts patch for tip

2010-04-17 Thread Sean Whitton
lour of my root window) when pages are loading and when surf launches. No idea which window/widget/bleh the colour is actually coming from. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] [surf] toggle_images_plugins_scripts patch for tip

2010-04-24 Thread Sean Whitton
h to add such a config option. Perhaps someone would like to add it to the surf website or something. I've tried changing my GTK theme but it doesn't seem to change colour. S PS Sorry for the spam pancake - kept sending it from my e-mail address that isn't subscribed to the list. -

Re: [dev] [surf] fix for running script.js

2010-05-10 Thread Sean Whitton
job - I see that this has been integrated into hg. Scripts still don't work if you have page JavaScript turned off, though. Is there any way around this? S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/

Re: [dev] surf patch: bind keystrokes to snippets of Javascript

2010-05-11 Thread Sean Whitton
Hi, On Tue, May 11, 2010 at 02:13:01PM +0100, Sean Whitton wrote: > On Tue, May 11, 2010 at 11:10:04AM +0200, Troels Henriksen wrote: > > The attached patch lets you bind keys to small lines of Javascript to > > run. > > > > The intent is that the usual ~/.surf/script

Re: [dev] surf patch: bind keystrokes to snippets of Javascript

2010-05-11 Thread Sean Whitton
()", NULL } } }, ... and just comment out the line document.addEventListener all the way down to the end of the hinting script in script.js. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ signature.asc Description: Digital signature

Re: [dev] surf patch: bind keystrokes to snippets of Javascript

2010-05-18 Thread Sean Whitton
t; my nearby sucky mailserver won't permit me to send .js-files). This script doesn't seem to bind numbers at all for me, so I can turn hinting on and off, but can't select any hints. Any ideas why this might be? S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwh

Re: [dev] Tiling windowmanager workflow (Was: [dvtm] Fibonacci layout patch)

2010-06-10 Thread Sean Whitton
use of having more than one tag selected at once, and having windows on more than one tag etc., but I don't really have useful bindings for it. I am thinking I might get some shortcuts to pull in my fullscreen tag into others, when for example I am working with LaTeX, which I do a lot.

Re: [dev] Re: [dmenu] getting dmenu to use multiselect with tab completion

2010-07-29 Thread Sean Whitton
s what I did to get it to work on a reasonably recent version of dmenu. I suggest you apply the changes in this manually to get it to work. It's pretty neat :-) S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ diff --git a/dmenu/dmenu.1 b/dmenu/dmenu.1 index 22798

Re: [dev] [dwm] spawn a floating window

2010-08-08 Thread Sean Whitton
m. I use the title matching trick a lot. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ pgpmQKVlmcbiA.pgp Description: PGP signature

Re: [dev] Re: dwm puzzle [fixed; with blame]

2010-09-14 Thread Sean Whitton
n't confine your search to changesets after 5.8.2. S -- Sean Whitton / OpenPGP KeyID: 0x3B6D411B http://seanwhitton.com/ pgpfvYxP1QwCP.pgp Description: PGP signature