mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 03:26: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
|