mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 07:39:36 +01:00
Show polybar in multiple monitors
This commit is contained in:
parent
a05183f59a
commit
0fe0c86593
@ -52,6 +52,7 @@
|
|||||||
black = #181a1c
|
black = #181a1c
|
||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
|
monitor = ${env:MONITOR:}
|
||||||
width = 100%
|
width = 100%
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
offset-y = 0
|
offset-y = 0
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
pkill polybar
|
pkill polybar
|
||||||
polybar -r main &
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
|
MONITOR=$m polybar --reload main &
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user