浏览代码

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 年之前
父节点
当前提交
db5979bb7d
共有 2 个文件被更改,包括 5 次插入5 次删除
  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' &