shell-host/session/lightdm/lightdm.conf.d/lightdm-setup.sh
David Kebler e42b9fe72a added os transfer scripts (btrfs snapshots)
added user session scripts and services
added keepassxc scripts
rearranged some modules
2024-02-12 14:16:57 -08:00

8 lines
282 B
Bash
Executable file

#!/bin/bash
dir=${HOME}/${USER_SESSION_DIR:-.session}
file=${dir}/session_login
echo "running as user $(id -u), setup for ${USER}, file:${file} $(date)" >> /opt/scripts/lightdm.log
log=${dir}/session.log
if [[ -e "$file" ]]; then
/bin/bash $file 1>>${log} 2>>${log} || true
fi