From 839169411427daab01bd73abe6e5ea2587636e66 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 20 Feb 2023 17:27:05 -0300 Subject: etc/sh/rc: Join both "if $DISPLAY" sections --- etc/sh/rc | 9 ++++++--- 1 file 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 # -- cgit v1.2.3