logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

.profile (4871B)


  1. # exports
  2. export ACRONYMDB="$HOME/.local/share/acronyms"
  3. export BADWOLF_L10N="en_GB:en_US:fr_FR:de_DE:ru_RU"
  4. export BROWSER="badwolf:firefox:lynx"
  5. export EDITOR="vis"
  6. export FCEDIT="${EDITOR:-ed}"
  7. export GOPROXY="direct" # disable proxying to Google by default
  8. export GOSUMDB=off # do not query for module checksum when undefined in go.sum
  9. export GO111MODULE=on
  10. export GOPATH="$HOME/go:/usr/lib/go-gentoo"
  11. export ERL_AFLAGS="-kernel shell_history enabled"
  12. unset GIT_ALTERNATE_OBJECT_DIRECTORIES
  13. unset GIT_OBJECT_DIRECTORY
  14. export GPGKEY='DDC9237C14CF6F4DD847F6B390D93ACCFEFF61AE'
  15. export GTK_CSD=0
  16. export GTK_OVERLAY_SCROLLING=0
  17. export LANG="en_DK.UTF-8"
  18. export LC_ADDRESS='fr_FR.UTF-8'
  19. export LC_TIME='en_DK.UTF-8' # Keep on ISO-8601 even when temporarly setting other LANG
  20. export LC_MEASUREMENT="en_DK.UTF-8" # Same but mesures
  21. export LC_MONETARY="fr_FR.UTF-8"
  22. export LC_NUMERIC="mfe_MU.UTF-8" # decimal_point="." thousands_sep="<U202F>" grouping=3
  23. export LC_TELEPHONE='fr_FR.UTF-8'
  24. export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
  25. export MOZ_ALLOW_GTK_DARK_THEME=true
  26. export NNTPSERVER='news.free.fr'
  27. #export PATH="$(echo /{,usr/{,games/,local/,lib/llvm/{5,4}/,lib/plan9/}}{,s}bin | tr \ :)"
  28. export PATH="$HOME/.local/bin:$PATH:$HOME/go/bin"
  29. export PLUG_TMPDIR="/tmp/plug-$(id -u)"
  30. export PS4='$ '
  31. export QEMU_AUDIO_DRV=alsa
  32. export SSH_AGENT_PID=$(cat ${HOME}/.ssh/agent.pid)
  33. export SSH_AUTH_SOCK="${HOME}/.ssh/agent.sock"
  34. export SSH_ASK_PASS="${HOME}/.local/bin/ssh-ask-pass.sh"
  35. export TERMINAL='foot'
  36. export TZ='Europe/Paris'
  37. export QT_STYLE_OVERRIDE=adwaita-dark
  38. export CMAKE_GENERATOR=Ninja
  39. # Own environment variables for agnostism
  40. export MY_WALLPAPER_MODE='fill' # one of fill, center, tile
  41. export MY_WALLPAPER="/tank/datalove/img/wallpaper/background_dual.png"
  42. # Input Method
  43. export XMODIFIERS=@im=uim
  44. export GTK_IM_MODULE="uim"
  45. export QT_IM_MODULE="uim"
  46. # https://devmanual.gentoo.org/general-concepts/manifest/index.html
  47. export PORTAGE_GPG_DIR=$HOME
  48. export PORTAGE_GPG_KEY=$GPGKEY
  49. export FEATURES="sign"
  50. # XDG user directories
  51. export XDG_DESKTOP_DIR="/var/empty"
  52. export XDG_DOCUMENTS_DIR="/var/empty"
  53. export XDG_DOWNLOAD_DIR="$HOME/Downloads"
  54. export XDG_TEMPLATES_DIR="$HOME/templates"
  55. export XDG_VIDEOS_DIR="$HOME/Videos"
  56. export XDG_MUSIC_DIR="$HOME/Music"
  57. export XDG_RUNTIME_DIR="/tmp/$(id -u)-xdg_runtime_dir"
  58. [ -d "${XDG_RUNTIME_DIR}" ] || (
  59. mkdir -p "${XDG_RUNTIME_DIR}"
  60. chmod 0700 "${XDG_RUNTIME_DIR}"
  61. )
  62. export XDG_CACHE_HOME="/tmp/$(id -u)-xdg_cache_home"
  63. [ -d "${XDG_CACHE_HOME}" ] || (
  64. mkdir -p "${XDG_CACHE_HOME}"
  65. chmod 0700 "${XDG_CACHE_HOME}"
  66. )
  67. ## XKB configuration (Wayland+xinit)
  68. #export XKB_DEFAULT_RULES=""
  69. #export XKB_DEFAULT_MODEL=""
  70. export XKB_DEFAULT_LAYOUT="us,ru"
  71. if grep lanodan '/usr/share/X11/xkb/symbols/us' >/dev/null 2>/dev/null
  72. then
  73. export XKB_DEFAULT_VARIANT="lanodan,phonetic"
  74. else
  75. export XKB_DEFAULT_VARIANT=",phonetic"
  76. fi
  77. # grp:alt_shift_toggle conflicts with shift:both_capslock
  78. export XKB_DEFAULT_OPTIONS="compose:menu,grp:alt_shift_toggle,terminate:ctrl_alt_bksp,keypad:pointerkeys,ctrl:nocaps,lv3:ralt_switch"
  79. ## Fuck off nvidia
  80. export VDPAU_DRIVER=radeonsi
  81. export LIBVA_DRIVER_NAME=radeonsi
  82. ## Fuck off GNUisms
  83. export POSIXLY_CORRECT=1
  84. export POSIX_ME_HARDER=1
  85. export WEBKIT_GST_ENABLE_AUDIO_MIXER=1
  86. export WEBKIT_GST_USE_PLAYBIN3=1
  87. gpg-connect-agent /bye # Make sure gpg-agent is started