aboutsummaryrefslogtreecommitdiffstats
path: root/i3wm/.config/polybar/launch.sh
diff options
context:
space:
mode:
authorPeter Son Struschka <me@peter-struschka.com>2018-10-10 17:19:29 +0700
committerPeter Son Struschka <me@peter-struschka.com>2018-10-10 17:19:29 +0700
commit1297a2e0ec774a13c9900b63c2b4afbb6582a5d3 (patch)
tree1f633f33a5569f1924183ff801897d6e6fea4d37 /i3wm/.config/polybar/launch.sh
parentc0cb935f9aaa33638344415aaede751ca3d29bb1 (diff)
downloaddotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.gz
dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.bz2
dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.lz
dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.xz
dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.tar.zst
dotfiles-1297a2e0ec774a13c9900b63c2b4afbb6582a5d3.zip
multiple changes mostly to zsh and polybar
Diffstat (limited to 'i3wm/.config/polybar/launch.sh')
-rwxr-xr-xi3wm/.config/polybar/launch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/i3wm/.config/polybar/launch.sh b/i3wm/.config/polybar/launch.sh
index 0b2f2d9..a0f26cd 100755
--- a/i3wm/.config/polybar/launch.sh
+++ b/i3wm/.config/polybar/launch.sh
@@ -7,6 +7,7 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
-polybar topbar &
+MONITOR=$(polybar -m|tail -1|sed -e 's/:.*$//g') polybar topbar &
+MONITOR=$(polybar -m|tail -1|sed -e 's/:.*$//g') polybar topbar-second &
echo "Bars launched..."