X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.profile;h=cbc092f5aa6eaf5f1370372ee5dcb84a3e69fc6d;hb=15febc39ef411866518c9d321e56af5ba2c7e8e8;hp=7cd90912e807674543ffedb0372c7ee3139b07d0;hpb=3f673776ca36a17bb26c425303151325577b120b;p=khome.git diff --git a/home/.profile b/home/.profile index 7cd9091..cbc092f 100644 --- a/home/.profile +++ b/home/.profile @@ -1,11 +1,14 @@ -. $HOME/lib/login_variables.private.sh # Personal data variables +# XXX Setting the scaling variables causes inconsistent response from apps. +# However, launching mate-appearance-properties after startx - causes +# something to be adjusted and most apps scale up correctly. With some +# exceptions, like zeal. +#. $HOME/lib/login_variables_dpi.sh +. $HOME/lib/login_variables.private.sh +. $HOME/lib/login_variables.sh +. $HOME/lib/login_functions.sh unalias d 2> /dev/null || true # Defined by oh-my-zsh, but I want it for dict/fzf function. - -for file in $HOME/lib/login_*.sh -do - . $file -done +. $HOME/lib/login_aliases.sh umask 077 @@ -14,7 +17,17 @@ then eval "$(ssh-agent)" fi -# https://rustup.rs/ -export PATH="$HOME/.cargo/bin:$PATH" +## TODO Rename status to motd +case "$-" in + # Only execute if shell is interactive. + *i*) ;;#status;; +esac + +printf '\n' -motd +# TODO File per quote. Seed rng with date and select quote of the day. +#awk \ +# -v RS='' \ +# 'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \ +# ~/arc/doc/fortunes/orangebook_.txt \ +#| fold -s