diff --git a/example/articles/sharpen_the_sawfish.textile b/example/articles/sharpen_the_sawfish.textile index 78e2de3..5b1c82d 100644 --- a/example/articles/sharpen_the_sawfish.textile +++ b/example/articles/sharpen_the_sawfish.textile @@ -23,7 +23,7 @@ looking at. The other 'windows' on my screen are things like web browsers and GUI programs where there's no such guarantee, and the only way to make them work is to allow them to take the size and shape that their authors wanted them to have. So after a -brief experiment with "awesome": http://awesome.naquadah.org/ I +brief experiment with "awesome":http://awesome.naquadah.org/ I punted it and went looking for a programable window manager that was designed for overlapping windows. @@ -43,20 +43,20 @@ for it Then I needed something to chuck windows around the screen. The requirement is pretty simple here: every window on my screen is aligned against an edge, so I just need commands to pan a window -to each edge. Here is "the finished script":https://github.com/telent/dotfiles/blob/master/.sawfish/lisp/throw-window.jl in which I would like to -draw attention to +to each edge. Here is "the finished script":https://github.com/telent/dotfiles/blob/master/.sawfish/lisp/throw-window.jl +in which the points I would like to draw attention to are * I use focus-follows-mouse mode, or whatever it's called these days. This means that if I move a window under the pointer I need to move the pointer too otherwise it will go out of focus. The @warp-cursor-to-window@ function does this: I needed to calculate the pointer position relative to window, which for some - reason isn't a builtin + reason isn't a builtin. * @window-frame-dimensions@ is @window-dimensions@ plus the decorations. We need these dimenstions for throwing windows rightwards or downwards, otherwise they end up slightly - offscreen + offscreen. * @define-command@ is the magic that makes our new functions show up in the @sawfish-ui@ dialog. The @"%f"@ sigil means to pass @@ -76,7 +76,7 @@ assigned them to Windows-key shortcuts: at last, I have a use for the Windows key. If you hadn't spotted in amongst all that, I have -"githubbed my dotfiles":https://github.com/telent/dotfiles/ More +"githubbed my dotfiles.":https://github.com/telent/dotfiles/ More for my convenience than for your edification, but feel free to rummage. If you are one of the three other remaining XTerm users, have a look at the @XTerm*VT100*translations@ in