summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc/skel/.bash_profile
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-06-30 06:16:32 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-03-27 19:32:36 -0400
commite4fd6acd2d59cd10450fc57cf89e2dcc3c1e9c87 (patch)
treed1b591ffe11af67c0f615c6d384b8257c9a0c7fb /configs/profile/root-image/etc/skel/.bash_profile
parent860685fa072be6b6f1efa2fccb4f6376ef7f8bce (diff)
add braille and screen reader support from talkingparabola config
Diffstat (limited to 'configs/profile/root-image/etc/skel/.bash_profile')
-rw-r--r--configs/profile/root-image/etc/skel/.bash_profile5
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