Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compton blur
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
treeman1111
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2013
Posts: 77

PostPosted: Sat Sep 20, 2014 7:41 pm    Post subject: Compton blur Reply with quote

My problem is this: I want to disable background blur on all window_type = normal except on URxvt, which I have set up to be transparent, so I want it blurred. How do I configure the blur-background-exclude parameter of compton to do this?

Here is my compton.conf:
Code:

# Configuration file for the desktop compositor.

### Get Compton working with ati drivers ###
# Set the backend that Compton should use to render things on the desktop.
backend = "glx";
# Paint on the composite overlay window instead of painting on the root window.
paint-on-overlay = true;
# Avoid using the stencil buffer. Improves performance by around 15%.
glx-no-stencil = true;
# GLX buffer swap method. Can be:
# [0]: undefined
# [1]: copy
# [2]: exchange
# [3-6]
# [-1]: buffer-age
# 1 is the fastest. Use it if it works.
glx-swap-method = 1;

### Enable and configure shadows. ###
# Enable shadows.
shadow = true;
# Set the default radius (in pixels) of shadows.
shadow-radius = 12;
# The left offset of shadows (in pixels).
shadow-offset-x = -12;
# The top offset of shadows (in pixels).
shadow-offset-y = -12;
# Opacity of the shadow.
shadow-opacity = 1.0;
# Clear shadows behind transparent windows.
clear-shadow = true;
# Do not draw shadows on drag-and-drop windows.
no-dnd-shadow = true;
# Draw shadows on the dock
no-dock-shadow = false;
# Do not draw shadows on shaped windows such as the menu in Firefox.
shadow-ignore-shaped = true;
# Remove ugly shadows from argb windows in Firefox:
shadow-exclude = "class_g = 'Firefox' && argb";

### Configure gaussian blur and opacity ###
# The kernel used to generate the 13x13 gaussian blur.
blur-kern = "13,13,0.236928,0.295230,0.353455,0.406570,0.449329,0.477114,0.486752,0.477114,0.449329,0.406570,0.353455,0.295230,0.236928,0.295230,0.367879,0.440432,0.506617,0.559898,0.594521,0.606531,0.594521,0.559898,0.506617,0.440432,0.367879,0.295230,0.353455,0.440432,0$
# Blur the background of transparent windows.
blur-background = true;
# Only blur the background of these windows / window types. If the background of other windows is blurred, it leads to an ugly effect while fading.
blur-background-exclude = [ "!class_g = 'URxvt'", "!class_g = 'Conky'", "window_type = 'dock'" ];

### Fading ###
# Enable fading
fading = true;
# How long does it take to fade one step (in ms)?
fade-delta = 7.5;
# Do not fade blurred windows. It looks ugly.
fade-exclude = ["class_g = 'Conky'", "class_g = 'URxvt'", "window_type = 'dock'" ];

### Per-window type configuration. ###
wintypes:
{
        unknown = { };
        desktop = { };
        dock = { };
        toolbar = { };
        menu = { };
        utility = {};
        splash = { };
        dialog = { };
        normal = { };
        dropdown_menu = { fade = false; shadow = false; opacity = 0.75; focus = true; };
        popup_menu = { };
        ....
};
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum