From d94d9c140c0387d6b5c4ba260f80f7925919b184 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 6 Mar 2021 16:16:40 -0500 Subject: [PATCH] Update config files --- config/profile | 13 +++++++++++++ config/xinitrc | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/config/profile b/config/profile index 35e19fc..9a1e0c6 100644 --- a/config/profile +++ b/config/profile @@ -1,6 +1,19 @@ +# Profile +# :PROPERTIES: +# :header-args: :tangle ../config/profile :comments org +# :END: + +# Ensure that ~~/.local/bin~ added to the =$PATH= variable. + + PATH=$PATH:~/.local/bin export PATH + + +# When launching into a new session on ~TTY1~, if the display server is not running, run *StartX*[fn:3]. This will launch the window manager. + + if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then exec startx fi diff --git a/config/xinitrc b/config/xinitrc index 180d14c..a17cf9d 100644 --- a/config/xinitrc +++ b/config/xinitrc @@ -1 +1,9 @@ +# Startup +# :PROPERTIES: +# :header-args: :tangle ../config/xinitrc :comments org +# :END: + +# My workflow includes launching the window manager with *Xinit*[fn:3], without the use of a display manager, controlling *everything* within Emacs. + + exec dbus-launch --exit-with-session emacs -mm --debug-init