From a9fbadb28684cd73cf5fdba548510cc4ab7db475 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Sun, 20 Aug 2017 22:01:10 -0500
Subject: [PATCH] i3: Make Polybar more reload-friendly

---
 .config/i3/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/i3/config b/.config/i3/config
index 89bf141b..ac12a656 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -57,7 +57,7 @@ font pango:Overpass 10
 # Use in case of NODM/autlogin and .xinitrc -- If we're just starting the system, we need to lock it up.
 exec --no-startup-id "i3lock -i ~/.i3splash"
 
-exec_always --no-startup-id "sleep 1; polybar top"
+exec_always --no-startup-id "killall polybar; sleep 1; polybar top"
 #exec_always --no-startup-id "sleep 1; polybar bottom"
 exec --no-startup-id "redshift -l 38.627003:-90.199402"
 exec_always --no-startup-id "compton --config ~/.config/compton.conf"