Add that sweet, sweet glassmorphism

Remove unneeded lines from picom.conf
This commit is contained in:
2022-11-13 01:32:19 +01:00
parent cabea39dd9
commit 59f60d1c64
2 changed files with 12 additions and 39 deletions

View File

@@ -15,7 +15,7 @@ env:
window: window:
decorations: none decorations: none
dynamic_title: true dynamic_title: true
opacity: 0.1
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:

View File

@@ -6,8 +6,6 @@
# Enabled client-side shadows on windows. Note desktop windows # Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option. # unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true; shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
@@ -26,11 +24,6 @@ shadow-offset-y = 2;
# shadow-color = "#000000" # shadow-color = "#000000"
# 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:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [ shadow-exclude = [
"name = 'Notification'", "name = 'Notification'",
"class_g = 'polybar'", "class_g = 'polybar'",
@@ -72,7 +65,6 @@ 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 = true; fading = true;
# 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)
@@ -154,31 +146,13 @@ rounded-corners-exclude = [
# Background-Blurring # # Background-Blurring #
################################# #################################
blur: {
# Parameters for background blurring, see the *BLUR* section for more information. method = "dual_kawase";
#blur-method = 'gaussian' strength = 12;
#blur-size = 12 background = false;
# background-frame = false;
# blur-deviation = false background-fixed = false;
# }
#blur-strength = 5
# 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 = true
# 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
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
# Specify the blur convolution kernel, with the following format: # Specify the blur convolution kernel, with the following format:
@@ -188,6 +162,10 @@ blur-background = true
# blur-kern = "" # blur-kern = ""
blur-kern = "3x3box"; blur-kern = "3x3box";
opacity-rule = [
"85:class_g = 'Code'",
"88:class_g = 'discord'",
]
# Exclude conditions for background blur. # Exclude conditions for background blur.
# blur-background-exclude = [] # blur-background-exclude = []
@@ -210,7 +188,6 @@ blur-background-exclude = [
backend = "glx" backend = "glx"
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false
vsync = true; vsync = 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.
@@ -229,13 +206,11 @@ mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them # Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately. # shaped windows. The accuracy is not very high, unfortunately.
# #
# detect-rounded-corners = false
detect-rounded-corners = true; detect-rounded-corners = true;
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers # Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows. # not passing '_NET_WM_OPACITY' of client windows to frame windows.
# #
# detect-client-opacity = false
detect-client-opacity = true; detect-client-opacity = true;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
@@ -259,14 +234,12 @@ unredir-if-possible = false
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time. # in the same group focused at the same time.
# #
# detect-transient = false
detect-transient = true; detect-transient = true;
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
# detect-transient is enabled, too. # detect-transient is enabled, too.
# #
# detect-client-leader = false
detect-client-leader = true; detect-client-leader = true;
# Resize damaged region by a specific number of pixels. # Resize damaged region by a specific number of pixels.