2016-01-20 17:06:54 +00:00
|
|
|
#
|
|
|
|
# ~/.bash_profile
|
|
|
|
#
|
|
|
|
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
|
|
2016-01-25 15:38:04 +00:00
|
|
|
|
|
|
|
# Set numlock if running in tty.
|
|
|
|
# (numlock for X is set in ~/.xinitrc)
|
2016-01-21 22:12:31 +00:00
|
|
|
case $(tty) in /dev/tty[0-9]*)
|
2016-04-11 17:27:46 +00:00
|
|
|
setleds -D +num
|
2017-02-08 22:59:33 +00:00
|
|
|
export USING_TTY=1
|
|
|
|
# Temporary fix for a systemd bug related to systemd --user timers that run on login
|
|
|
|
[[ -z "$DBUS_SESSION_BUS_ADDRESS" ]] && printf "%bWARNING: \$DBUS_SESSION_BUS_ADDRESS is unset! %b\n" "$(tput bold)$(tput setab 1)" "$(tput sgr0)"
|
|
|
|
;;
|
2016-01-21 22:12:31 +00:00
|
|
|
esac
|