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

31 lines
985 B
Plaintext
Raw Normal View History

2016-04-01 11:45:17 +00:00
export LC_ALL=en_GB.UTF-8
2016-03-31 21:34:07 +00:00
export LANG=en_GB.UTF-8
export LC_NUMERIC=en_GB
2016-03-31 02:03:55 +00:00
2016-09-01 13:16:13 +00:00
export CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}"
export DOTFILES=$CONFIG_DIR/dotfiles
2016-03-31 02:03:55 +00:00
export PATH="${PATH}:$DOTFILES/scripts"
2016-04-19 16:12:23 +00:00
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
2016-03-31 02:03:55 +00:00
export EDITOR="vim"
export VISUAL="vim"
export PAGER="less -R"
2016-05-16 16:43:27 +00:00
export TERMINAL="termite"
2016-09-01 13:15:31 +00:00
export BROWSER="chromium"
2016-03-31 02:03:55 +00:00
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
export QT_STYLE_OVERRIDE=GTK+
export QT_QPA_PLATFORMTHEME=gtk2
2016-07-19 22:33:03 +00:00
# Merge system clipboards
if ! [ -z $DISPLAY ] && which autocutsel &>/dev/null; then
autocutsel -fork &
autocutsel -selection PRIMARY -fork &
fi
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax --exit-with-session)
dbus-update-activation-environment --systemd DISPLAY
export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
export SSH_AUTH_SOCK
fi