diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-05 13:39:23 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-05 13:39:23 -0500 |
| commit | 1af49a883cd1d6f0bd7735ea5201de594c489085 (patch) | |
| tree | fe4a34d2bf8e76898f8341b84825b8c78aace2e3 /dotfiles/system/.profile | |
| parent | 45f8a4d12eee0a701e38056d7a7e8288da0bf8e7 (diff) | |
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
Diffstat (limited to 'dotfiles/system/.profile')
| -rw-r--r-- | dotfiles/system/.profile | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
