mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
4 lines
189 B
Bash
4 lines
189 B
Bash
|
monitors=$(polybar --list-monitors | cut -f 1 -d':' | tr '\n' ' ')
|
||
|
monitors=($monitors)
|
||
|
MONITOR=''${monitors[$1]} polybar -c /home/main/dotfiles/home-manager/modules/xmonad/polybar.ini top
|