Re: Transparency only for xterm

Hi, janemba. (To: list, cc: janemba)

On Sun, 08 Aug 2010 20:34:30 +0200, janemba wrote:
> I'm totally beginners in lisp and I'd like to modify this script :
> In order to make transparency only for xterm and not to all
> the windows.

Modify like this:
(defun undim-in-focus-hook (win focus-mode) 
  "Makes the window that went out-of-focus, dim" 
  (when (equal "XTerm/xterm" (window-class win 'configurator))
    (concat "transset-df -i " (number->string (window-id win)) " 1")))

Same for dim-out-of-focu-hook.

To know each window's "class", open configurator -> window rules -> add
-> (in pull down menu) class -> grab that window.

(Above "Xterm/xterm" may be incorrect. I don't hane xterm. Pleaes
check it.)

# Actually, transset-df doesn't work for me, although compsite
# extension seems to be in.

With best regards,
Teika (Teika kazura)

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