From 59f60d1c64a8b5b1668be1973be434206f60e17b Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Sun, 13 Nov 2022 01:32:19 +0100 Subject: [PATCH] Add that sweet, sweet glassmorphism Remove unneeded lines from picom.conf --- alacritty/.config/alacritty/alacritty.yml | 2 +- picom/.config/picom.conf | 49 +++++------------------ 2 files changed, 12 insertions(+), 39 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index dabd98d..cbd8a89 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -15,7 +15,7 @@ env: window: decorations: none dynamic_title: true - + opacity: 0.1 font: # Normal (roman) font face normal: diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index be7123b..e755992 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -6,8 +6,6 @@ # Enabled client-side shadows on windows. Note desktop windows # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. -# -# shadow = false shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) @@ -26,11 +24,6 @@ shadow-offset-y = 2; # shadow-color = "#000000" # Specify a list of conditions of windows that should have no shadow. -# -# examples: -# shadow-exclude = "n:e:Notification"; -# -# shadow-exclude = [] shadow-exclude = [ "name = 'Notification'", "class_g = 'polybar'", @@ -72,7 +65,6 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. -# fading = false fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) @@ -154,31 +146,13 @@ rounded-corners-exclude = [ # Background-Blurring # ################################# - -# Parameters for background blurring, see the *BLUR* section for more information. -#blur-method = 'gaussian' -#blur-size = 12 -# -# blur-deviation = 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 +blur: { + method = "dual_kawase"; + strength = 12; + background = false; + background-frame = false; + background-fixed = false; +} # Specify the blur convolution kernel, with the following format: @@ -188,6 +162,10 @@ blur-background = true # blur-kern = "" blur-kern = "3x3box"; +opacity-rule = [ + "85:class_g = 'Code'", + "88:class_g = 'discord'", +] # Exclude conditions for background blur. # blur-background-exclude = [] @@ -210,7 +188,6 @@ blur-background-exclude = [ backend = "glx" # Enable/disable VSync. -# vsync = false vsync = true; # 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 # shaped windows. The accuracy is not very high, unfortunately. # -# detect-rounded-corners = false detect-rounded-corners = true; # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. # -# detect-client-opacity = false detect-client-opacity = true; # 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 # in the same group focused at the same time. # -# detect-transient = false detect-transient = true; # 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 # detect-transient is enabled, too. # -# detect-client-leader = false detect-client-leader = true; # Resize damaged region by a specific number of pixels.