diff options
Diffstat (limited to 'configs/profile/root-image/etc/skel/.bash_profile')
-rw-r--r-- | configs/profile/root-image/etc/skel/.bash_profile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/profile/root-image/etc/skel/.bash_profile b/configs/profile/root-image/etc/skel/.bash_profile index 4dfbab5..3698904 100644 --- a/configs/profile/root-image/etc/skel/.bash_profile +++ b/configs/profile/root-image/etc/skel/.bash_profile @@ -9,6 +9,7 @@ export EDITOR=nano export DE='_DESKTOP_SESSION_' # gnome, kde, xfce, lxde, mate export DESKTOP_SESSION='_DESKTOP_SESSION_' # lxde +ENABLE_TTS_BRLTTY='_ENABLE_TTS_BRLTTY_' # speech and braille # set custom environment @@ -17,5 +18,9 @@ sudo /root/.language.sh export $(cat /etc/locale.conf) +# launch accessibility features +[[ "$ENABLE_TTS_BRLTTY" == 'true' ]] && flock -n /run/talk-to-me.lck /usr/bin/talk-to-me + + # launch X [ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx || cat /etc/motd |