Sawfish
Scripts quick access edit this



Synopsis[]

Each viewport remembers, after switching the viewport, its previously focused window and pointer position, and restores them when the viewport is changed.

Description[]

If you switch viewports with keyboard, then this is for you.

Workspace is not supported.

An exception is sticky window; if it is focused before switching the viewport, then it keeps focus after switch, too. This enables to 'carry' windows over viewports.

Installation[]

Save the file in ~/.sawfish/lisp/sawfish/wm/ext/vpf.jl, and in ~/.sawfishrc, put

(require 'sawfish.wm.ext.vpf).

Then assign keys to change viewport commands. I use Shift + arrow keys. Available commands are vpf-right, vpf-left, vpf-up and vpf-down.

That's all!

Configuration[]