From 9a711deaf6ea552a21c335adf5e0483bdbee60b0 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Sun, 1 Nov 2020 05:56:13 -0600
Subject: [PATCH] Polybar, Picom: Improve raisu

---
 .config/picom.conf     | 13 ++++++-------
 .config/polybar/config |  8 +++-----
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/.config/picom.conf b/.config/picom.conf
index e5d8d3eb..063153a5 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -12,10 +12,10 @@ glx-no-rebind-pixmap = true;
 ## SHADOWS
 
 shadow = true;
-shadow-radius = 0;
-shadow-offset-x = 4;
-shadow-offset-y = 4;
-shadow-opacity = 0.3;
+shadow-radius = 30;
+shadow-offset-x = -25;
+shadow-offset-y = -25;
+shadow-opacity = 0.45;
 # shadow-red = 0.0;
 # shadow-green = 0.0;
 # shadow-blue = 0.0;
@@ -33,7 +33,6 @@ shadow-exclude = [
 	"name *= 'Chrome'",
 	"name *= 'Conky'",
 	"name *= 'Polybar tray window'",
-	"name *= 'polybar'",
 	"class_g = 'Conky'",
 	"class_g ?= 'Notify-osd'",
 	"class_g ?= 'Xfce4-notifyd'",
@@ -48,9 +47,9 @@ fading = true;
 # The time between steps in a fade in milliseconds. (default 10).
 fade-delta = 5;
 # Opacity change between steps while fading in. (default 0.028).
-fade-in-step = 0.07;
+fade-in-step = 0.08;
 # Opacity change between steps while fading out. (default 0.03).
-fade-out-step = 0.07;
+fade-out-step = 0.08;
 # Fade windows in/out when opening/closing
 # no-fading-openclose = true;
 
diff --git a/.config/polybar/config b/.config/polybar/config
index 47002e02..ee9fae59 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -49,12 +49,10 @@ background = ${res/colors.bg}
 foreground = ${res/colors.fg}
 border-color = ${res/colors.border}
 tray-background = ${res/colors.bg}
-height = 32
-width = 100%:-12
-offset-x = 6
-offset-y = 6
+height = 40
+width = 100%
 padding = 2
-border-size = ${res/config.border-size}
+border-top-size = ${res/config.border-size}
 font-0 = "Roboto:style=Regular:size=10;2"
 font-1 = "Deja Vu Sans Mono:style=Regular:size=10;2"
 font-2 = "Roboto:style=Bold:size=10;2"