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