startLemon.sh 344 B

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