You are not logged in.

#1 2014-10-10 07:48:07

heroinsunrise
Member
Registered: 2014-10-10
Posts: 8

Compton - Transparent urxvt - exluding title bars isn't working!

Recently installed and configured Compton. Opacity and shadows are working as inteneded, but I'd like to exlude for exampel URxvt's title bar from the transparency. I.e, I want URxvt to be transparent, but not URxvt's title bar.

I've set the option as follows:

 #frame-opacity = 0.0;			'
# Opacity of window titlebars and borders. (0.1 - 1.0) 

Yet, it is not working. How to I exclude title bars from the opacity rule?


Including my entire config below. Thank you in advance!

# Shadow
shadow = true;			# Enabled client-side shadows on windows.
no-dock-shadow = false;		# Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true;		# Don't draw shadows on DND windows.
clear-shadow = true;		# Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7;		# The blur radius for shadows. (default 12)
shadow-offset-x = -7;		# The left offset for shadows. (default -15)
shadow-offset-y = -7;		# The top offset for shadows. (default -15)
# shadow-opacity = 0.7;		# The translucency for shadows. (default .75)
# shadow-red = 0.0;		# Red color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-green = 0.0;		# Green color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-blue = 0.0;		# Blue color value of shadow. (0.0 - 1.0, defaults to 0)
# shadow-exclude = [ "n:s:dzen" ];	# Exclude conditions for shadows.
shadow-ignore-shaped = true;

# Opacity
menu-opacity = 0.9;			# The opacity for menus. (default 1.0)
inactive-opacity = 1.0;			# Opacity of inactive windows. (0.1 - 1.0)
#frame-opacity = 0.0;			# Opacity of window titlebars and borders. (0.1 - 1.0)
inactive-opacity-override = true;	# Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.

# Fading
fading = true;			# Fade windows during opacity changes.
fade-delta = 3;		        # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03;		# Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03;		# Opacity change between steps while fading out. (default 0.03).
no-fading-openclose = false;	# Fade windows in/out when opening/closing.

# Other
# inactive-dim = 0.1;		# Dim inactive windows. (0.0 - 1.0, defaults to 0).
mark-wmwin-focused = true;	# Try to detect WM windows and mark them as active.
mark-ovredir-focused = true;
detect-rounded-corners = true;

# Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; opacity = 0.5; };
};
opacity-rule = [
     "85:class_g = 'URxvt'"
 ]; 

Offline

#2 2014-10-10 23:40:27

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: Compton - Transparent urxvt - exluding title bars isn't working!

There are two problems. First of all, you need to uncomment the line. Lines beginning in # are ignored, so you need to remove the # from the start of the line. Secondly, you should use 1.0, not 0.0. Opacity means visibility rather than transparency.

So, you should change this line:

#frame-opacity = 0.0;

To this:

frame-opacity = 1.0;

"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

Board footer

Powered by FluxBB