Fandom

Sawfish

Native-focus-transparency

773pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Scripts quick access edit this



Synopsis Edit

Quick hack of Suraj's focus-transparency to remove dependency on transset-df.


Description Edit

A modified version of focus-transparency.jl that uses the sawfish set-x-property instead of calling the external program transset-df. This is much more responsive.

Installation Edit

Just toss it in your home directory and add (require 'native-focus-transparency) to your .sawfishrc.

Configuration Edit

The following special variables can be used to tune the amont of transparency:

*out-of-focus-trans*
 default value: 0x80000000
  the amount of transparency for out-of-focus windows.  0 is invisible and 0xffffffff is nearly opaque
*in-focus-trans*
 default value: nil
  The amount of transparency for the focused window.  nil disables transparency for the in-focus window.  Otherwise is the same as *out-of-focus-trans*

If you want to play around with transparencies, calling update-opacity will update the value of *out-of-focus-trans* and force all the windows to take on this transparency.

See also Edit

Also on Fandom

Random Wiki