lemonbar/swatson-casana/startLemon.sh
1	#!/bin/bash
2
3 if [[ $1 == "--single-1080" ]]; then
4 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15+1920+0
5 fi
6
7 if [[ $1 == "--xfce" ]]; then
8 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15+0+0
9 fi
10
11
12 if [[ $1 == "--single-1440" ]]; then
13 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1440x15+0+0
14 fi
15
16 if [[ $1 == "--720-side-car" ]]; then
17 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1360x15+1920
18 fi
19
20 if [ $(xrandr --query | grep '\bconnected\b' | wc -l) -gt 1 ]; then
21 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 3440x15+1920
22 else
23 /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15
24 fi