aboutsummaryrefslogblamecommitdiff
path: root/.config/eww/scripts/start.sh
blob: 628fa7710fef28d1dad482e9679e59112c68c5d4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                          
                                                                        
 

                                        

    
#!/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 | xargs)

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