aboutsummaryrefslogtreecommitdiff
path: root/.config/eww/scripts/start.sh
blob: 1e5c023579204a28ff1f231683bd00b2476370b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# kill any running instances if they exist
eww kill

# start a bar for each monitor
monitors=$(wlr-randr | grep "^[^ ]" | awk '{ print$1 }' | wc -l)

for ((i = 0 ; i < $monitors ; i++)); do 
	eww open bar${i}
done