summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-08-08 15:01:33 -0500
committerDanny Holman <dholman@gymli.xyz>2021-08-08 15:01:33 -0500
commitf1804c57494eb4a6927a7c85d9f92f66a0a7d10f (patch)
treeda0282466fad78f5c173cdc131a7f490360927d6 /.xinitrc
parent65a53cb4ccf04788698be4f9cdb2897e9ed73df6 (diff)
Update a bunch of stuff
Update the SSH configs, Neomutt, Vim, Xorg
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc26
1 files changed, 26 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..46cb3a0
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f "$userresources" ]; then
+ xrdb -merge "$userresources"
+fi
+
+if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+fi
+
+exec i3