aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sh/rc')
-rw-r--r--etc/sh/rc9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index f687142..a6ff24b 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -291,9 +291,6 @@ f() {
r() {
. ~/.profile
- if [ -n "$DISPLAY" ]; then
- xset r rate 225 100
- fi
}
_edit_without_executing() {
@@ -336,8 +333,14 @@ if [ -r "$F" ]; then
. "$F"
fi
+
+#
+# Only for graphical sessions
+#
+
if [ -n "$DISPLAY" ]; then
xset s 300
+ xset r rate 225 100
fi
#