Browse Source

Updated polybar launcher for multiple monitors

pull/2/head
Josh Wolfe 3 years ago
parent
commit
85c1fa5e85
No known key found for this signature in database
GPG Key ID: 18942A942DE01A34
  1. 5
      bin/bin/launch_polybar
  2. 2
      i3/.config/i3/config

5
bin/bin/launch_polybar

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
#!/bin/bash
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload my-awesome-polybar &
done

2
i3/.config/i3/config

@ -212,5 +212,5 @@ exec_always "xsetroot -cursor_name left_ptr" @@ -212,5 +212,5 @@ exec_always "xsetroot -cursor_name left_ptr"
exec_always "~/bin/caps"
exec_always "~/bin/key-rate"
exec_always "~/bin/autohide"
exec_always "~/bin/launch_polybar"
exec_always feh --bg-scale --randomize ~/Pictures/wallpapers/*
exec_always polybar my-awesome-polybar

Loading…
Cancel
Save