From 5f96a3e3228ab6a4dfecfa4cc27eb11f3e80f13c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Mar 2018 03:19:37 -0500 Subject: use xprofile instead of xinitrc --- Makefile | 1 + xinitrc | 6 +----- xprofile | 7 +++++++ 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 xprofile 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 -- cgit v1.2.3-54-g00ecf