aboutsummaryrefslogtreecommitdiff
path: root/.scripts/screenrefresh
blob: f6e17e5d84ce793be7063d95ac4a97a5502d7791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

polystart="false"
while getopts 'b' flag; do
  case "${flag}" in
    b) polystart="true" ;;
    *) exit 1 ;;
  esac
done

screensetup.sh

nitrogen --restore

if [ "$polystart" = "true" ]; then
  polystart &
fi