From 85e4922464de80595c61b262d382dac4b728648b Mon Sep 17 00:00:00 2001 From: listout Date: Sun, 9 Jan 2022 23:07:29 +0530 Subject: removed shadows --- .config/bspwm/bspwmrc | 10 ---------- .config/picom/picom.conf | 10 +++------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 9e4ad6c..9ffc968 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -40,13 +40,3 @@ bspc rule -a Pavucontrol state=floating bspc rule -a '*:slack' desktop='^9' state=tiled follow=off bspc rule -a '*:megasync' state=floating bspc rule -a processing-app-Base state=floating - - -bspc subscribe node_state | while read -r _ _ _ node state status; do -if [[ "$state" == "floating" ]]; then - case "$status" in - off) xprop -id "$node" -remove _COMPTON_SHADOW;; - on) xprop -id "$node" -f _COMPTON_SHADOW 32c -set _COMPTON_SHADOW 1;; - esac -fi -done diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 6220bbf..723b50d 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -7,23 +7,19 @@ # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # -# shadow = false -shadow = true; +shadow = false # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 -shadow-radius = 12; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) -shadow-opacity = .75 +# shadow-opacity = .75 # The left offset for shadows, in pixels. (defaults to -15) # shadow-offset-x = -15 -shadow-offset-x = 4; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15 -shadow-offset-y = 4; # Red color value of shadow (0.0 - 1.0, defaults to 0). # shadow-red = 0 @@ -72,7 +68,7 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = false; +fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 -- cgit v1.2.3