Collin J. Doering
cff91a9110
Instead of having the systemd user units in .config/systemd/user/ who's programs require access to a environment variable to define them explicitly using "Environment = 'VAR=value'". Instead from .bashrc and .zshrc we can import all environment variables using "systemctl --user import-environment" or import variables individually like so "systemctl --user import-environment VAR_NAME". Here I import (using the method above) both $PATH and $SMLNJ_HOME so that they can be used by emacs (and maybe some other program/systemd-user-unit I have forgotten). Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
10 lines
179 B
Desktop File
10 lines
179 B
Desktop File
[Unit]
|
|
Description = Extensible screen saver framework, plus locking
|
|
|
|
[Service]
|
|
ExecStart = /usr/bin/xscreensaver -no-splash
|
|
Restart = always
|
|
|
|
[Install]
|
|
WantedBy = default.target
|