Minor improvments to init & ~/bin scripts, remove numlock from autostarts
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user