summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmando Di Cianno <fafhrd@gentoo.org>2004-09-24 01:08:30 +0000
committerArmando Di Cianno <fafhrd@gentoo.org>2004-09-24 01:08:30 +0000
commitd83ac67d6b0d2c541dda46977ce63c379baff0c7 (patch)
treec11521e76e94a6f77ac1a28940c12dfeb5f7a84e /gnustep-apps/aclock/files/config-aclock.sh
parentdont touch ld.so.conf #64829 (Manifest recommit) (diff)
downloadgentoo-2-d83ac67d6b0d2c541dda46977ce63c379baff0c7.tar.gz
gentoo-2-d83ac67d6b0d2c541dda46977ce63c379baff0c7.tar.bz2
gentoo-2-d83ac67d6b0d2c541dda46977ce63c379baff0c7.zip
Major commit of many files relating to updated GNUstep ebuidlds
Diffstat (limited to 'gnustep-apps/aclock/files/config-aclock.sh')
-rw-r--r--gnustep-apps/aclock/files/config-aclock.sh31
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
+