Sawfish
Advertisement
Scripts quick access edit this



Synopsis

Each viewport remembers its previous 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 in the former viewport, then it keeps focus in the new viewport, 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 'vpf).

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

That's all!

Configuration

Advertisement