aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pinoinha <pinoinha@disroot.org> 2022-10-04 01:26:34 +0000
committerGravatar pinoinha <pinoinha@disroot.org> 2022-10-04 01:26:34 +0000
commit4602e7dc95e2f6ed607fbf6db18fe273c90ef28a (patch)
tree530440588892b28e744d00df0286f98dd870c651
parentc5a7986c909358afbc6525091a897ffcc6f77161 (diff)
voltando a usar o picom por motivos de vsync
-rw-r--r--picom/picom.conf93
1 files changed, 15 insertions, 78 deletions
diff --git a/picom/picom.conf b/picom/picom.conf
index 1caf3c2..291e63e 100644
--- a/picom/picom.conf
+++ b/picom/picom.conf
@@ -63,6 +63,7 @@ shadow-offset-y = -7;
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
+ "class_g = 'dwm'",
"class_g = 'Conky'",
"class_g = 'Dunst'",
"class_g ?= 'Notify-osd'",
@@ -118,48 +119,12 @@ no-fading-openclose = true
# Transparency / Opacity #
#################################
-
-# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
-# inactive-opacity = 1
-inactive-opacity = 0.8;
-
-# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
-# frame-opacity = 1.0
-frame-opacity = 0.7;
-
-# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
-# menu-opacity = 1.0
-
-# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
-# inactive-opacity-override = true
inactive-opacity-override = false;
-# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-# active-opacity = 1.0
-
-# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
-# inactive-dim = 0.0
-
-# Specify a list of conditions of windows that should always be considered focused.
-# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
-# Use fixed inactive dim value, instead of adjusting according to window opacity.
-# inactive-dim-fixed = 1.0
-
-# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
-# like `50:name *= "Firefox"`. picom-trans is recommended over this.
-# Note we don't make any guarantee about possible conflicts with other
-# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
-# example:
-# opacity-rule = [ "80:class_g = 'URxvt'" ];
-#
-# opacity-rule = []
-
opacity-rule = [
- "80:class_g = 'URxvt'",
- "80:class_g = 'Termite'",
- "80:class_g = 'Alacritty'",
+ "100:name = 'Firefox'",
];
#################################
@@ -169,45 +134,28 @@ opacity-rule = [
# Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase";
-blur-size = 6;
+blur-size = 0;
blur-deviation = 5.0;
# round corners!
-corner-radius = 12.0;
+corner-radius = 0;
rounded-corners-exclude = [
"class_g = 'Polybar'",
"class_g = 'dwm'",
];
-# Blur background of semi-transparent / ARGB windows.
-# Bad in performance, with driver-dependent behavior.
-# The name of the switch may change without prior notifications.
-#
-# blur-background = false
-
-# Blur background of windows when the window frame is not opaque.
-# Implies:
-# blur-background
-# Bad in performance, with driver-dependent behavior. The name may change.
-#
-# blur-background-frame = false
+blur-background = false
+blur-background-frame = false
# 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:
-# example:
-# 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 = "3x3box";
-# Exclude conditions for background blur.
-# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
+ "class_g = 'dwm'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c",
];
@@ -216,37 +164,25 @@ blur-background-exclude = [
# General Settings #
#################################
-# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
-# daemon = false
-
-# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
-# `xrender` is the default one.
-#
backend = "glx";
-#backend = "xrender";
-# Enable/disable VSync.
-vsync = false
-# vsync = true
+vsync = true;
+opengl-swc = true;
+
+dbe = false;
+paint-on-overlay = true;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
-# Try to detect WM windows (a non-override-redirect window with no
-# child that has 'WM_STATE') and mark them as active.
-#
-# mark-wmwin-focused = false
mark-wmwin-focused = true;
-# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
-# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
-# detect-rounded-corners = false
-detect-rounded-corners = true;
+detect-rounded-corners = false
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
@@ -433,4 +369,5 @@ wintypes:
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
+ utility = { shadow = false; }
};