- #!/bin/bash
- if [[ $1 == "--single-1080" ]]; then
- /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15+1920+0
- fi
- if [[ $1 == "--single-1440" ]]; then
- /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1440x15+0+0
- fi
- if [ $(xrandr --query | grep '\bconnected\b' | wc -l) -gt 1 ]; then
- /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 3440x15+1920
- else
- /home/swatson/.config/lemonbar/bar.sh | lemonbar -p -g 1920x15
- fi
|