toggle-or-exec added to 1.7.0



Hi all,

I've added a new feature to sawfish (a few hours before freeze): toggle-or-exec.

It turns windows in drop-down-terminal like windows. (say something like Guake or
Yakuake). Invocation is practically the same than the cycle-or-exec or jump-or-exec.

1 start app or focus window
2 when called from the matching window hide it, else focus it
3 (optional) when leaving the window, hide it

hide means iconify with temporarly deactivated animator.

For best results, the window should be above others, like common for drop-down apps.

Just two questions:

a) is there a better way then first (remove-hook) and then (add-hook) each time? (see the
toggle-or-exec.jl in HEAD), b) is there a window-matcher which makes a window overlap a
dock-window?

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]