mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +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
|