1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

profile: add secrets file

This commit is contained in:
Joe Groocock 2017-10-03 09:34:02 +01:00
parent 16883bff80
commit 2a095e0570
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
bookmarks
.config/secrets
*.log
.xournal/recent-files

View File

@ -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 &