From ec689ee70e49c6026b7f2cb20731f06d5d7a568f Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 1 Jun 2020 15:52:42 +0530 Subject: nicer shadows --- picom/.config/picom.conf | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'picom/.config') diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 858d87e..a155b63 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -1,20 +1,15 @@ ## SHADOWS -shadow = true; -shadow-radius = 0.5; -shadow-offset-x = 3; -shadow-offset-y = 3; -shadow-opacity = 0.65; -log-level = "warn"; +shadow = true; +shadow-radius = 25; +shadow-offset-x = -20; +shadow-offset-y = -15; shadow-exclude = [ "name = 'Notification'", - "class_g = 'conky'", "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "class_g ?= 'slop'", "name = 'polybar'", "name = 'Polybar tray window'", - "class_g ?= 'dmenu'", "class_g ?= 'dwm'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "class_g = 'Firefox' && argb", "_GTK_FRAME_EXTENTS@:c" ]; @@ -26,10 +21,8 @@ blur-background = true; blur-strength = 3; blur-kern = "3x3box"; blur-background-exclude = [ - "class_g ?= 'slop'", "name = 'polybar'", "name = 'Polybar tray window'", - "class_g = 'conky'", "class_g ?= 'Rofi'", "class_g ?= 'zoom'", "window_type = 'dock'", @@ -37,8 +30,8 @@ blur-background-exclude = [ ]; opacity-rule = [ "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", - "100:class_g = 'Alacritty' && focused", - "95:class_g = 'Alacritty' && !focused" + "100:class_g = 'st-256color' && focused", + "95:class_g = 'st-256color' && !focused" ]; ## FADING -- cgit v1.2.3