You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/bin/polybar-launch.sh

11 lines
250 B
Bash

2 years ago
#! /bin/bash
# loads polybar one every monitor
if type "xrandr"; then
for monitor in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$monitor polybar --reload main-bar &
done
else
polybar --reload main-bar &
fi