Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.7 KiB

  1. #!/bin/bash
  2. # Environment variables
  3. export QT_QPA_PLATFORMTHEME="qt5ct"
  4. export _JAVA_AWT_WM_NONREPARENTING=1
  5. export AWT_TOOLKIT=MToolkit
  6. export SHELL=/bin/zsh
  7. export TERMINAL=/usr/local/bin/st
  8. export TMUX_PLUGIN_MANAGER_PATH=~/.tmux/plugins
  9. export BORG_KEYS_DIR=~/.keys/borg
  10. export BROWSER="/home/yigit/.local/bin/brave-start"
  11. export EDITOR=vim
  12. export ANDROID_HOME=/home/yigit/Android
  13. export DEFAULT_RECIPIENT="yigitcolakoglu@hotmail.com"
  14. # Setup PATH
  15. export PATH=$ANDROID_HOME/tools:$PATH
  16. export PATH=$ANDROID_HOME/platform-tools:$PATH
  17. export PATH=$FLUTTER_HOME/bin:$PATH
  18. export PATH="$PATH:/home/yigit/.local/bin:/home/yigit/.gem/ruby/2.7.0/bin:$GOPATH/bin:$GOPATH/binexport:/home/yigit/.local/bin"
  19. export CPATH=/usr/include/opencv4
  20. # Set XDG Directories
  21. export XDG_DATA_HOME="$HOME"/.local/share
  22. export XDG_CONFIG_HOME="$HOME"/.config
  23. export XDG_CACHE_HOME="$HOME"/.cache
  24. export XDG_DATA_DIRS="/usr/local/share:/usr/share"
  25. export XDG_CONFIG_DIRS="/etc/xdg"
  26. export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
  27. export XDG_RUNTIME_DIR="/run/user/1000"
  28. # LF Icons
  29. LF_ICONS=$(sed ~/.config/lf/diricons \
  30. -e '/^[ \t]*#/d' \
  31. -e '/^[ \t]*$/d' \
  32. -e 's/[ \t]\+/=/g' \
  33. -e 's/$/ /')
  34. LF_ICONS=${LF_ICONS//$'\n'/:}
  35. export LF_ICONS
  36. # Cleanup Home Directory
  37. export CARGO_HOME="$XDG_DATA_HOME"/cargo
  38. export GOPATH="$XDG_DATA_HOME"/go
  39. export ANDROID_HOME="$XDG_DATA_HOME"/Sdk
  40. export FLUTTER_HOME="$XDG_DATA_HOME"/flutter
  41. export LEIN_HOME="$XDG_DATA_HOME"/lein
  42. export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
  43. export NVM_DIR="$XDG_DATA_HOME"/nvm
  44. export GNUPGHOME="$XDG_DATA_HOME"/gnupg
  45. export MBSYNCRC="$XDG_CONFIG_HOME"/isync/mbsyncrc
  46. export VIMINIT="set nocp | source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc"
  47. export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history
  48. export TASKDATA="$XDG_DATA_HOME"/task
  49. export TASKRC="$XDG_CONFIG_HOME"/task/taskrc
  50. export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat
  51. export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
  52. export LESSHISTFILE=-
  53. export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
  54. export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
  55. export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
  56. export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter
  57. export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
  58. export PYLINTHOME="$XDG_CACHE_HOME"/pylint
  59. export WGETRC="$XDG_CONFIG_HOME/wgetrc"
  60. export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
  61. export RANDFILE="$XDG_DATA_HOME"/openssl/rnd
  62. export _Z_DATA="$XDG_DATA_HOME/z"
  63. export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
  64. export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"
  65. export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc
  66. export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc