diff --git a/.gitignore b/.gitignore index 0dbe282..6b08f84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ bookmarks +.config/secrets *.log .xournal/recent-files diff --git a/.profile b/.profile index 1e4cd6b..cbc05ab 100644 --- a/.profile +++ b/.profile @@ -15,6 +15,13 @@ export BROWSER="chromium" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" export QT_QPA_PLATFORMTHEME=gtk2 +# Source secret keys and values into environment +if [ -f "$CONFIG_DIR/secrets" ]; then + set -o allexport + source $CONFIG_DIR/secrets + set +o allexport +fi + # Merge system clipboards if ! [ -z $DISPLAY ] && which autocutsel &>/dev/null; then autocutsel -fork &