From bb5c5f86e0de39f5000034199a01c0cced6d5195 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Mon, 12 Feb 2018 23:11:20 -0600
Subject: [PATCH] bspwm: Add more comforts for plasmashell I'm really digging
 this integration. Should've done it soooner

---
 .config/bspwm/bspwmrc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 4662f122..be82ebc6 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -46,6 +46,11 @@ unset deskpermon
 
 bspc config border_width	4
 bspc config window_gap		10
+if $(pgrep plasmashell); then
+	# This padding matches the bars I'm using
+	bspc config top_padding 37
+	bspc config bottom_padding 37
+fi
 
 bspc config split_ratio		0.50
 bspc config borderless_monocle	true
@@ -72,7 +77,7 @@ bspc config urgent_border_color			"#b58900"
 bspc rule -r '*'
 bspc rule -a Waterfox desktop=1
 bspc rule -a Spotify desktop=10
-bspc rule -a plasmashell state=floating sticky=on border=off
+bspc rule -a plasmashell state=floating layer=above sticky=on border=off
 
 ## SIMPLE CONFIGURATION
 xset -b