summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/xinitrc21
l---------[-rw-r--r--].xinitrc21
2 files changed, 22 insertions, 20 deletions
diff --git a/.config/xinitrc b/.config/xinitrc
new file mode 100755
index 0000000..e636c90
--- /dev/null
+++ b/.config/xinitrc
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# xinitrc runs automatically when you run startx.
+
+# There are some small but important commands that need to be run when we start
+# the graphical environment. I keep those commands in ~/config/xprofile because
+# that file is run automatically if someone uses a display manager (login
+# screen) and so they are needed there. To prevent doubling up commands, I
+# source them here with the line below.
+
+# export STATUSBAR="i3blocks" # Uncomment this line when using i3.
+
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
+
+# Your default LARBS WM is determined in your `~/.profile` on login. Here we
+# run the proper command to run when the graphical environment starts.
+
+# Comment/uncomment these lines depending on what wm you want to use. Also
+# check the i3blocks line above.
+ssh-agent dwm
+# ssh-agent i3
diff --git a/.xinitrc b/.xinitrc
index 09dbd4e..6fefdaf 100644..120000
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,20 +1 @@
-#!/bin/sh
-
-# xinitrc runs automatically when you run startx.
-
-# There are some small but important commands that need to be run when we start
-# the graphical environment. I keep those commands in ~/config/xprofile because
-# that file is run automatically if someone uses a display manager (login
-# screen) and so they are needed there. To prevent doubling up commands, I
-# source them here with the line below.
-
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
-
-# Your default LARBS WM is determined in your `~/.profile` on login. Here we
-# run the proper command to run when the graphical environment starts.
-
-exec dwm
-
-# To use i3, comment out the line above with dwm and uncomment these two:
-# export STATUSBAR="i3blocks"
-# exec i3
+.config/xinitrc \ No newline at end of file