about summary refs log tree commit diff
path: root/configs/shared/x_server
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/x_server')
-rw-r--r--configs/shared/x_server/.xsessionrc.shared5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/shared/x_server/.xsessionrc.shared b/configs/shared/x_server/.xsessionrc.shared
index b19e3359efd0..25346eab1cf8 100644
--- a/configs/shared/x_server/.xsessionrc.shared
+++ b/configs/shared/x_server/.xsessionrc.shared
@@ -23,5 +23,10 @@ emacs --daemon
 xmodmap -e 'remove Lock = Caps_Lock'
 xmodmap -e 'keysym Caps_Lock = Escape'
 
+# since we separated our i3 configurations between a shared and device-specific
+# setup, we need to make sure that when we start an X session, our i3
+# configuration is up-to-date.
+cat ~/.config/i3/config.{shared,device} >~/.config/i3/config
+
 # set key repeat preferences
 xset r rate 250 60