From db09ba9e0a39ed46ac80ece8eccab33d88748ef1 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 20 Aug 2017 21:56:47 -0500 Subject: [PATCH] Polybar, i3: Move Polybar launch handling out of its own script --- .config/i3/config | 3 ++- .config/polybar/launch.sh | 12 ------------ 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100755 .config/polybar/launch.sh diff --git a/.config/i3/config b/.config/i3/config index 4aae01f7..89bf141b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -57,7 +57,8 @@ 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 3; ~/.config/polybar/launch.sh" +exec_always --no-startup-id "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" exec_always --no-startup-id "dunst" diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh deleted file mode 100755 index 60116a77..00000000 --- a/.config/polybar/launch.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh - -# Terminate already running bar instances -killall -q polybar - -# Wait until the processes have been shut down -while pgrep -x polybar >/dev/null; do sleep 1; done - -# Launch bar1 and bar2 -polybar top & -polybar bottom & -echo "Polybars launched..."