aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sh/rc')
-rw-r--r--etc/sh/rc8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 4e93a30..f687142 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -291,7 +291,9 @@ f() {
r() {
. ~/.profile
- xset r rate 225 100
+ if [ -n "$DISPLAY" ]; then
+ xset r rate 225 100
+ fi
}
_edit_without_executing() {
@@ -334,7 +336,9 @@ if [ -r "$F" ]; then
. "$F"
fi
-
+if [ -n "$DISPLAY" ]; then
+ xset s 300
+fi
#
# From here on, bash-specific things.