Browse Source

Seperated out xinitrc and xsessionrc for compatability reasons.

xinitrc now contains only x11 startup info (reading Xresources and launching i3) and calls xsessionrc.

xsessionrc now contains personalization of X11 (generating i3 config file, numlock, etc.).
Tom Flucke 8 years ago
parent
commit
db5979bb7d
2 changed files with 5 additions and 5 deletions
  1. 0 5
      .xinitrc
  2. 5 0
      .xsessionrc

+ 0 - 5
.xinitrc

@@ -1,8 +1,3 @@
 [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
 
-source ~/.config/env/*.sh
-
-numlockx &
-
-#exec xautolock -time 15 -locker '/usr/local/bin/suspend' &
 exec /usr/bin/i3

+ 5 - 0
.xsessionrc

@@ -0,0 +1,5 @@
+cat $(ls $HOME/.i3/*.config | sort) > $HOME/.i3/config
+
+numlockx
+
+#exec xautolock -time 15 -locker '/usr/local/bin/suspend' &