diff options
Diffstat (limited to 'gnustep-apps/aclock/files/config-aclock.sh')
-rw-r--r-- | gnustep-apps/aclock/files/config-aclock.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnustep-apps/aclock/files/config-aclock.sh b/gnustep-apps/aclock/files/config-aclock.sh new file mode 100644 index 000000000000..1b3c4aaae8dd --- /dev/null +++ b/gnustep-apps/aclock/files/config-aclock.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/aclock/files/config-aclock.sh,v 1.1 2004/09/24 01:07:05 fafhrd Exp $ + +echo "AClock can draw with a smooth second hand or normal. Please choose one." +read -p "'smooth' or 'normal': " style + +if [ -n $style ]; then + case $style in + smooth) + echo "defaults write AClock SmoothSeconds YES" + echo "defaults write AClock RefreshRate 0.1" + defaults write AClock SmoothSeconds YES + defaults write AClock RefreshRate 0.1 + ;; + normal) + echo "defaults write AClock SmoothSeconds NO" + echo "defaults write AClock RefreshRate 1.0" + defaults write AClock SmoothSeconds NO + defaults write AClock RefreshRate 1.0 + ;; + *) + echo "Please enter 'smooth' or 'normal'." + ;; + esac +else + echo "Please enter 'smooth' or 'normal'." +fi + |