aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-15 15:44:12 -0300
committerEuAndreh <eu@euandre.org>2023-03-15 15:44:17 -0300
commit748ec1c372bf21767a982df01ce67a99484302ee (patch)
tree3cf77533aee305d99063740c3a6f3f935d26098b
parentMakefile: Add $(hostname) of sender in "check-aliases" (diff)
downloaddotfiles-748ec1c372bf21767a982df01ce67a99484302ee.tar.gz
dotfiles-748ec1c372bf21767a982df01ce67a99484302ee.tar.xz
etc/sh/rc: Enable $DISPLAY to be unset without erroring
-rw-r--r--etc/sh/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index 872d879..c5007e6 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -386,7 +386,7 @@ fi
# Only for graphical sessions
#
-if [ -n "$DISPLAY" ]; then
+if [ -n "${DISPLAY:-}" ]; then
xset s 1800
xset r rate 225 100
fi