mydm(1) | General Commands Manual | mydm(1) |
The simplest way to automatically spawn mydm is to source mydm_start file in your login scripts. Depending on your shell this might be for example:
..and so on. For example:
# .profile if [ -e "$HOME/.local/share/mydm/mydm_start" ]; then MYDM_DEFAULT_SESSION=sway export MYDM_DEFAULT_SESSION source "$HOME/.local/share/mydm/mydm_start" fi
Once started, mydm tries to find executable scripts inside $MYDM_SESSION_DIR, then presents them to the user. Selected script is then executed. See mydm(5) for additional information regarding session scripts and their examples.
mydm doesn't do anything else. It doesn't source any files. Doesn't start anything besides the chosen script. It is a glorious wrapper around Bash select loop.
MYDM_SESSION_DIR
MYDM_DEFAULT_SESSION
MYDM_TTY
MYDM_SPAWNED
Source code: https://git.goral.net.pl/mydm.git
2024-05-10 |