summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc/skel/.bash_profile
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2017-10-19 01:02:05 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-01-01 00:53:09 -0500
commit456dc3314cc45d149de26f367f4872a3d9e0fa98 (patch)
treee2d9f25751efa74e042a248293c2899b6ff8b9a9 /configs/profile/root-image/etc/skel/.bash_profile
parent9699ecdf11572a3cdcb34ae022320a1fd18ad129 (diff)
add filesystem overlay for graphical systems
Diffstat (limited to 'configs/profile/root-image/etc/skel/.bash_profile')
-rw-r--r--configs/profile/root-image/etc/skel/.bash_profile21
1 files changed, 21 insertions, 0 deletions
diff --git a/configs/profile/root-image/etc/skel/.bash_profile b/configs/profile/root-image/etc/skel/.bash_profile
new file mode 100644
index 0000000..502a30a
--- /dev/null
+++ b/configs/profile/root-image/etc/skel/.bash_profile
@@ -0,0 +1,21 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+
+
+# set standard environment
+export EDITOR=nano
+export DE='_DESKTOP_SESSION_' # gnome, kde, xfce, lxde, mate
+export DESKTOP_SESSION='_DESKTOP_SESSION_' # lxde
+
+
+# set custom environment
+sudo /root/.automated_script.sh
+sudo /root/.language.sh
+export $(cat /etc/locale.conf)
+
+
+# launch X
+[ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx