[openbox] shortcuts restricted to pattern?
Mikael Magnusson
mikachu at gmail.com
Thu Oct 20 09:56:32 EDT 2011
On 20 October 2011 14:02, Jorge Almeida <jjalmeida at gmail.com> wrote:
> Is there some way to have window shortcuts subject to matching some
> condition? For example, set up a key combination to close the current
> window, but only if the window belongs to a certain class, or has a
> certain name? I've been reading the documentation of wmctrl and xdotool
> and it doesn't seem possible...
Yes and no. http://openbox.org/wiki/Help:Actions#If lets you match
against the window title. It's easy to add class matching and i've
already done that, but it's not in 3.5 yet.
--
Mikael Magnusson
More information about the openbox
mailing list