Skip to content

Commit

Permalink
Update resizescreen
Browse files Browse the repository at this point in the history
Seems sh (at least on Ubuntu) doesn't support how I do if/then  or the read commands. Thus change to /bin/bash unless I find a sh safe way of doing it.
  • Loading branch information
theredbaron1834 committed Sep 17, 2014
1 parent 041debf commit c5952b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resizescreen
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

#check for dualscreen
dualscreen=$(xrandr | grep -v disconnected | grep -v VIRTUAL | grep connected | wc -l)
Expand Down

0 comments on commit c5952b1

Please sign in to comment.