aboutsummaryrefslogtreecommitdiff
path: root/.local/etc/x/xinitrc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-08-24 09:19:06 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-10-19 11:29:45 +0200
commit86dba56365e968e68ae0f871c485bef083152f85 (patch)
tree59464730e0059d0163ae1e6024f5517ec62f0b5d /.local/etc/x/xinitrc
parentb547844753e3586dd2f627712e1e6fc28a96fea9 (diff)
Add Xresources
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" ]