Wikia

Sawfish

Sawscreen

773pages on
this wiki
Talk0
Scripts quick access edit this
  • Author: Matthew Mueller <donut@dakotacom.dot.net>
  • License: Permission to use, modify and redistribute
  • Download: sawscreen

Synopsis Edit

Shell script to switch input between screens without needing to use the mouse.

Description Edit

Shell script to switch input between screens without needing to use the mouse. Uses sawfish-client to connect to the instance of sawfish running on the other screen and focus the last used window there.

Notes:

  1. If your other screen was on an empty workspace, it will be moved back to the workspace with the last used window on it.
  2. If there are no windows at all, it will launch an xterm in order that focus will move to it.
  3. It assumes you only have two screens. (Though changing to accept a command line arg of what screen to switch to would be trivial.)

Installation Edit

Stick in your path, make it executable, then add a "run shell command" keybinding in sawfish to run it. It will switch your input and mouse pointer to the last used window on the other screen.

Around Wikia's network

Random Wiki