aboutsummaryrefslogtreecommitdiff
path: root/.local/etc/x/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.local/etc/x/xinitrc')
-rw-r--r--.local/etc/x/xinitrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc
index df3590f..3b10135 100644
--- a/.local/etc/x/xinitrc
+++ b/.local/etc/x/xinitrc
@@ -18,7 +18,10 @@ xset +fp ~/.fonts/Terminus/BDF
xsetroot -cursor_name left_ptr
# load the .Xresources
-xrdb -merge ~/.Xresources
+if command -v xrdb > /dev/null
+then
+ xrdb -merge ~/.Xresources
+fi
# Set a custom layout with xrandr
if [ -f "$HOME/.local/etc/x/layout.sh" ]