Minor improvments to init & ~/bin scripts, remove numlock from autostarts

This commit is contained in:
natemaia
2017-12-26 15:03:54 -08:00
parent 88ecac0da3
commit 92ada44d97
8 changed files with 39 additions and 21 deletions

View File

@ -6,16 +6,21 @@ XDG_CONFIG_HOME=$HOME/.config
export XDG_CONFIG_HOME
# include ~/bin in path
export PATH=$HOME/bin:$PATH
if [ -d "$HOME/bin" ]; then
PATH=$HOME/bin:$PATH
fi
# include sbin in PATH
if [ -d "/sbin" ] ; then
if [ -d "/sbin" ]; then
PATH="/sbin:$PATH"
fi
if [ -d "/usr/sbin" ] ; then
# include sbin in PATH
if [ -d "/usr/sbin" ]; then
PATH="/usr/sbin:$PATH"
fi
# launch dbus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
eval $(dbus-launch --sh-syntax --exit-with-session)
fi