From 1af49a883cd1d6f0bd7735ea5201de594c489085 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 5 Oct 2025 13:39:23 -0500 Subject: add environment + systemd configs to improve session and app startup - Add environment variable file for PATH including custom script locations - Add user systemd service for Emacs daemon with restart on failure - Add geoclue-agent systemd service for redshift location hints - Add environment override for xdg-desktop-portal-gtk service (DISPLAY, XAUTHORITY) - Update .profile to use emacsclient for EDITOR and VISUAL - Comment out auto-startx on tty1 --- dotfiles/system/.profile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dotfiles/system/.profile') diff --git a/dotfiles/system/.profile b/dotfiles/system/.profile index f4560d2..0539774 100644 --- a/dotfiles/system/.profile +++ b/dotfiles/system/.profile @@ -28,7 +28,7 @@ export PATH="$PATH:$HOME/.local/bin:/usr/sbin:$HOME/.config/rofi/scripts" # Editor export ALTERNATE_EDITOR="" -export EDITOR="$(which emacs)" +export EDITOR="emacsclient -c -a ''" export SUDO_EDITOR="$(which vi)" # Browser @@ -41,7 +41,7 @@ export COLORTERM=truecolor #export TERM="vt100" export TERM="st-256color" export TERMINAL="$(which st)" -export VISUAL="$(which em)" +export VISUAL="emacsclient -c -a ''" # XDG export XDG_CONFIG_HOME="$HOME/.config/" @@ -123,6 +123,6 @@ if [ -d "$PROFILE_D" ]; then fi # launch x automatically -if [ -z "$DISPLAY" ] && [ "$(tty)" = /dev/tty1 ]; then - startx -fi +# if [ -z "$DISPLAY" ] && [ "$(tty)" = /dev/tty1 ]; then +# startx +# fi -- cgit v1.2.3