updated picom config after move to normal picom
This commit is contained in:
+57
-117
@@ -1,34 +1,3 @@
|
|||||||
#################################
|
|
||||||
# Animations #
|
|
||||||
#################################
|
|
||||||
# requires https://github.com/jonaburg/picom
|
|
||||||
# (These are also the default values)
|
|
||||||
transition-length = 300
|
|
||||||
transition-pow-x = 0.1
|
|
||||||
transition-pow-y = 0.1
|
|
||||||
transition-pow-w = 0.1
|
|
||||||
transition-pow-h = 0.1
|
|
||||||
size-transition = true
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
|
||||||
# Corners #
|
|
||||||
#################################
|
|
||||||
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
|
|
||||||
corner-radius = 10.0;
|
|
||||||
rounded-corners-exclude = [
|
|
||||||
#"window_type = 'normal'",
|
|
||||||
#"class_g = 'awesome'",
|
|
||||||
#"class_g = 'Alacritty'",
|
|
||||||
"class_g = 'Polybar'",
|
|
||||||
"class_g = 'code-oss'",
|
|
||||||
"! name~=''",
|
|
||||||
];
|
|
||||||
round-borders = 1;
|
|
||||||
round-borders-exclude = [
|
|
||||||
#"class_g = 'TelegramDesktop'",
|
|
||||||
];
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Shadows #
|
# Shadows #
|
||||||
#################################
|
#################################
|
||||||
@@ -86,6 +55,12 @@ shadow-offset-y = -7;
|
|||||||
#
|
#
|
||||||
# shadow-ignore-shaped = ''
|
# shadow-ignore-shaped = ''
|
||||||
|
|
||||||
|
# corner-radius = 5
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
]
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should have no shadow.
|
# Specify a list of conditions of windows that should have no shadow.
|
||||||
#
|
#
|
||||||
# examples:
|
# examples:
|
||||||
@@ -93,15 +68,33 @@ shadow-offset-y = -7;
|
|||||||
#
|
#
|
||||||
# shadow-exclude = []
|
# shadow-exclude = []
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"name = 'Notification'",
|
"name = 'Notification'",
|
||||||
"class_g = 'Conky'",
|
"class_g ?= 'Notify-osd'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"name = 'Plank'",
|
||||||
"class_g = 'Cairo-clock'",
|
"name = 'Docky'",
|
||||||
# "class_g = 'slop'",
|
"name = 'Kupfer'",
|
||||||
# "class_g = 'Polybar'",
|
"name = 'xfce4-notifyd'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"class_g = 'Firefox' && argb",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Add this one too for ...
|
||||||
|
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
# Add this one above to the list to have no shadow in Openbox menu
|
||||||
|
# "! name~=''",
|
||||||
|
|
||||||
# Specify a X geometry that describes the region in which shadow should not
|
# Specify a X geometry that describes the region in which shadow should not
|
||||||
# be painted in, such as a dock window region. Use
|
# be painted in, such as a dock window region. Use
|
||||||
# shadow-exclude-reg = "x10+0+0"
|
# shadow-exclude-reg = "x10+0+0"
|
||||||
@@ -121,7 +114,7 @@ shadow-exclude = [
|
|||||||
# Fade windows in/out when opening/closing and when opacity changes,
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
# unless no-fading-openclose is used.
|
# unless no-fading-openclose is used.
|
||||||
# fading = false
|
# fading = false
|
||||||
fading = true;
|
fading = false
|
||||||
|
|
||||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
# fade-in-step = 0.028
|
# fade-in-step = 0.028
|
||||||
@@ -135,10 +128,7 @@ fade-out-step = 0.03;
|
|||||||
# fade-delta = 10
|
# fade-delta = 10
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
# don't need this, we disable fading for all normal windows with wintypes: {}
|
# fade-exclude = []
|
||||||
fade-exclude = [
|
|
||||||
#"clss_g = 'slop'" # maim
|
|
||||||
]
|
|
||||||
|
|
||||||
# Do not fade on window open/close.
|
# Do not fade on window open/close.
|
||||||
# no-fading-openclose = false
|
# no-fading-openclose = false
|
||||||
@@ -154,38 +144,28 @@ fade-exclude = [
|
|||||||
|
|
||||||
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
# inactive-opacity = 1
|
# inactive-opacity = 1
|
||||||
inactive-opacity = 0.8;
|
inactive-opacity = 1;
|
||||||
|
|
||||||
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
# frame-opacity = 1.0
|
# frame-opacity = 1.0
|
||||||
frame-opacity = 0.7;
|
frame-opacity = 1;
|
||||||
|
|
||||||
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
||||||
# menu-opacity = 1.0
|
# menu-opacity = 1.0
|
||||||
# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
|
|
||||||
|
|
||||||
#If using these 2 below change their values in line 510 & 511 aswell
|
|
||||||
popup_menu = { opacity = 0.8; }
|
|
||||||
dropdown_menu = { opacity = 0.8; }
|
|
||||||
|
|
||||||
|
|
||||||
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
||||||
# inactive-opacity-override = true
|
# inactive-opacity-override = true
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
active-opacity = 1.0;
|
# active-opacity = 1.0
|
||||||
|
|
||||||
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
# inactive-dim = 0.0
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
# focus-exclude = []
|
# focus-exclude = []
|
||||||
focus-exclude = [
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
"class_g = 'Cairo-clock'",
|
|
||||||
"class_g = 'Bar'", # lemonbar
|
|
||||||
"class_g = 'slop'" # maim
|
|
||||||
];
|
|
||||||
|
|
||||||
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||||
# inactive-dim-fixed = 1.0
|
# inactive-dim-fixed = 1.0
|
||||||
@@ -197,19 +177,7 @@ focus-exclude = [
|
|||||||
# example:
|
# example:
|
||||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
#
|
#
|
||||||
# opacity-rule = []
|
opacity-rule = [ "80:class_g = 'Alacritty'" ]
|
||||||
opacity-rule = [
|
|
||||||
"80:class_g = 'Bar'", # lemonbar
|
|
||||||
#"100:class_g = 'slop'", # maim
|
|
||||||
"100:class_g = 'Alacritty'",
|
|
||||||
"80:class_g = 'Polybar'",
|
|
||||||
"100:class_g = 'code-oss'",
|
|
||||||
"100:class_g = 'Meld'",
|
|
||||||
"70:class_g = 'TelegramDesktop'",
|
|
||||||
"90:class_g = 'Joplin'",
|
|
||||||
"100:class_g = 'firefox'",
|
|
||||||
"100:class_g = 'Thunderbird'"
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -227,18 +195,18 @@ opacity-rule = [
|
|||||||
# Bad in performance, with driver-dependent behavior.
|
# Bad in performance, with driver-dependent behavior.
|
||||||
# The name of the switch may change without prior notifications.
|
# The name of the switch may change without prior notifications.
|
||||||
#
|
#
|
||||||
# blur-background = true;
|
# blur-background = false
|
||||||
|
|
||||||
# Blur background of windows when the window frame is not opaque.
|
# Blur background of windows when the window frame is not opaque.
|
||||||
# Implies:
|
# Implies:
|
||||||
# blur-background
|
# blur-background
|
||||||
# Bad in performance, with driver-dependent behavior. The name may change.
|
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||||
#
|
#
|
||||||
# blur-background-frame = false;
|
# blur-background-frame = false
|
||||||
|
|
||||||
|
|
||||||
# Use fixed blur strength rather than adjusting according to window opacity.
|
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||||
# blur-background-fixed = false;
|
# blur-background-fixed = false
|
||||||
|
|
||||||
|
|
||||||
# Specify the blur convolution kernel, with the following format:
|
# Specify the blur convolution kernel, with the following format:
|
||||||
@@ -246,35 +214,17 @@ opacity-rule = [
|
|||||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
#
|
#
|
||||||
# blur-kern = ''
|
# blur-kern = ''
|
||||||
# blur-kern = "3x3box";
|
blur-kern = "3x3box";
|
||||||
|
|
||||||
blur: {
|
|
||||||
# requires: https://github.com/ibhagwan/picom
|
|
||||||
method = "kawase";
|
|
||||||
#method = "kernel";
|
|
||||||
strength = 7;
|
|
||||||
# deviation = 1.0;
|
|
||||||
# kernel = "11x11gaussian";
|
|
||||||
background = false;
|
|
||||||
background-frame = false;
|
|
||||||
background-fixed = false;
|
|
||||||
kern = "3x3box";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Exclude conditions for background blur.
|
# Exclude conditions for background blur.
|
||||||
|
# blur-background-exclude = []
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
#"window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
#"window_type = 'desktop'",
|
"window_type = 'desktop'",
|
||||||
#"class_g = 'URxvt'",
|
|
||||||
#
|
|
||||||
# prevents picom from blurring the background
|
|
||||||
# when taking selection screenshot with `main`
|
|
||||||
# https://github.com/naelstrof/maim/issues/130
|
|
||||||
"class_g = 'slop'",
|
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# General Settings #
|
# General Settings #
|
||||||
#################################
|
#################################
|
||||||
@@ -285,14 +235,13 @@ blur-background-exclude = [
|
|||||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||||
# `xrender` is the default one.
|
# `xrender` is the default one.
|
||||||
#
|
#
|
||||||
experimental-backends = true;
|
# backend = "glx"
|
||||||
backend = "glx";
|
# backend = "xr_glx_hybrid"
|
||||||
#backend = "xrender";
|
backend = "xrender";
|
||||||
|
|
||||||
|
|
||||||
# Enable/disable VSync.
|
# Enable/disable VSync.
|
||||||
# vsync = false
|
# vsync = false
|
||||||
vsync = true
|
vsyc = true
|
||||||
|
|
||||||
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||||
# dbus = false
|
# dbus = false
|
||||||
@@ -319,12 +268,6 @@ detect-rounded-corners = true;
|
|||||||
# detect-client-opacity = false
|
# detect-client-opacity = false
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
|
|
||||||
# Specify refresh rate of the screen. If not specified or 0, picom will
|
|
||||||
# try detecting this with X RandR extension.
|
|
||||||
#
|
|
||||||
# refresh-rate = 60
|
|
||||||
refresh-rate = 0
|
|
||||||
|
|
||||||
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
|
||||||
# boost performance. This should not be used with
|
# boost performance. This should not be used with
|
||||||
# vsync drm/opengl/opengl-oml
|
# vsync drm/opengl/opengl-oml
|
||||||
@@ -341,7 +284,7 @@ refresh-rate = 0
|
|||||||
|
|
||||||
# Unredirect all windows if a full-screen opaque window is detected,
|
# Unredirect all windows if a full-screen opaque window is detected,
|
||||||
# to maximize performance for full-screen windows. Known to cause flickering
|
# to maximize performance for full-screen windows. Known to cause flickering
|
||||||
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
# when redirecting/unredirecting windows.
|
||||||
#
|
#
|
||||||
# unredir-if-possible = false
|
# unredir-if-possible = false
|
||||||
|
|
||||||
@@ -402,9 +345,7 @@ detect-client-leader = true
|
|||||||
# The opposing option is use-damage
|
# The opposing option is use-damage
|
||||||
#
|
#
|
||||||
# no-use-damage = false
|
# no-use-damage = false
|
||||||
#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened)
|
use-damage = true
|
||||||
#Changing use-damage to false fixes the problem
|
|
||||||
use-damage = false
|
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||||
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||||
@@ -447,7 +388,7 @@ use-damage = false
|
|||||||
# using *--log-file*, since it can generate a huge stream of logs.
|
# using *--log-file*, since it can generate a huge stream of logs.
|
||||||
#
|
#
|
||||||
# log-level = "debug"
|
# log-level = "debug"
|
||||||
log-level = "info";
|
log-level = "warn";
|
||||||
|
|
||||||
# Set the log file.
|
# Set the log file.
|
||||||
# If *--log-file* is never specified, logs will be written to stderr.
|
# If *--log-file* is never specified, logs will be written to stderr.
|
||||||
@@ -455,7 +396,7 @@ log-level = "info";
|
|||||||
# logs might still be written to the stderr.
|
# logs might still be written to the stderr.
|
||||||
# When setting this option from the config file, it is recommended to use an absolute path.
|
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||||
#
|
#
|
||||||
# log-file = '/path/to/your/log/file'
|
# log-file = '~/.config/compton.log'
|
||||||
|
|
||||||
# Show all X errors (for debugging)
|
# Show all X errors (for debugging)
|
||||||
# show-all-xerrors = false
|
# show-all-xerrors = false
|
||||||
@@ -495,10 +436,9 @@ log-level = "info";
|
|||||||
#
|
#
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
normal = { fade = false; shadow = false; }
|
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
|
||||||
dock = { shadow = false; }
|
dock = { shadow = false; }
|
||||||
dnd = { shadow = false; }
|
dnd = { shadow = false; }
|
||||||
popup_menu = { opacity = 0.8; }
|
popup_menu = { opacity = 0.9; }
|
||||||
dropdown_menu = { opacity = 0.8; }
|
dropdown_menu = { opacity = 0.9; }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user