summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-03-01 03:19:37 -0500
committerJesse Luehrs <doy@tozt.net>2018-03-03 01:02:23 -0500
commit5f96a3e3228ab6a4dfecfa4cc27eb11f3e80f13c (patch)
tree5b5952ff519c739b974131bcffe928cdddb4dace
parent2d399ea87dc7f6fe73c7e4f5e8b71477c5ca6fb1 (diff)
downloadconf-5f96a3e3228ab6a4dfecfa4cc27eb11f3e80f13c.tar.gz
conf-5f96a3e3228ab6a4dfecfa4cc27eb11f3e80f13c.zip
use xprofile instead of xinitrc
-rw-r--r--Makefile1
-rw-r--r--xinitrc6
-rw-r--r--xprofile7
3 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ae31e0f..5bb89a4 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ INSTALL = agignore \
xbindkeysrc \
Xdefaults \
xinitrc \
+ xprofile \
Xmodmap \
zlogout \
zshcomplete \
diff --git a/xinitrc b/xinitrc
index 6957172..93fd2a6 100644
--- a/xinitrc
+++ b/xinitrc
@@ -1,9 +1,5 @@
#!/bin/sh
-start-pulseaudio-x11
-
-pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) &
-
-setup-inputs
+[ -f ~/.xprofile ] && . ~/.xprofile
exec i3
diff --git a/xprofile b/xprofile
new file mode 100644
index 0000000..ef35281
--- /dev/null
+++ b/xprofile
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+start-pulseaudio-x11
+
+pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) &
+
+setup-inputs