summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-06-15 12:56:06 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-06-15 12:56:06 +0200
commitec3966063975875984a118707fbd8ba7622268d4 (patch)
treee736634cfca60ef393653f4d2c3a9e99b3a59a65
parentab3e5aa5976b408218ca884f08d560e8de09ce70 (diff)
downloadplay-ec3966063975875984a118707fbd8ba7622268d4.tar.gz
play-ec3966063975875984a118707fbd8ba7622268d4.tar.bz2
play-ec3966063975875984a118707fbd8ba7622268d4.zip
Always use 'exc'; remove the sleep
-rwxr-xr-xplay.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/play.sh b/play.sh
index 4b459eb..799047e 100755
--- a/play.sh
+++ b/play.sh
@@ -35,12 +35,8 @@ exc () {
shift
fi
- if [[ $PLAY_DEBUG > 0 ]]; then
- log "Executing (using '$cmd'):"
- log "> $@"
-
- sleep 3
- fi
+ log "Executing (using '$cmd'):"
+ log "> $@"
$cmd "$@"
}
@@ -74,10 +70,10 @@ default_execute () {
}
default_prepare () {
- nvidia-settings -l
+ exc nvidia-settings -l
# set display size
- [[ -n $SIZE ]] && xrandr -s $SIZE
+ [[ -n $SIZE ]] && exc xrandr -s $SIZE
}
default_setenv () {