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:
parent
16883bff80
commit
2a095e0570
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
bookmarks
|
||||
.config/secrets
|
||||
|
||||
*.log
|
||||
.xournal/recent-files
|
||||
|
7
.profile
7
.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 &
|
||||
|
Loading…
Reference in New Issue
Block a user