diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2019-05-11 15:53:16 +0700 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2019-05-11 15:53:16 +0700 |
| commit | 5bca040f13556d13b80a91a43b0b88ca9c21b218 (patch) | |
| tree | efdc704586f382f4bdb2baa2cc6f4f353b717f1d /i3wm/.config/polybar/launch.sh | |
| parent | c4f5fd984a863aa284de476e3ef6515affa7eb49 (diff) | |
| download | dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.gz dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.bz2 dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.lz dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.xz dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.tar.zst dotfiles-5bca040f13556d13b80a91a43b0b88ca9c21b218.zip | |
update makefile and configs
Diffstat (limited to 'i3wm/.config/polybar/launch.sh')
| -rwxr-xr-x | i3wm/.config/polybar/launch.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i3wm/.config/polybar/launch.sh b/i3wm/.config/polybar/launch.sh index e099ebb..c45e085 100755 --- a/i3wm/.config/polybar/launch.sh +++ b/i3wm/.config/polybar/launch.sh @@ -9,12 +9,11 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch bar1 and bar2 MONITOR=$(polybar -m|tail -n1|sed -e 's/:.*$//g') polybar topbar & - +sleep 1 MONITORS=$(polybar -m|sed -e 's/:.*$//g') while read -r monitor; do MONITOR=$monitor polybar topbar-second & + sleep 1 done <<< $MONITORS -PRIMARY_MONITOR=$(xrandr -q|awk '/ connected primary /'|cut -d ' ' -f1) - echo "Bars launched..." |
