.zshenv 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Clean home `~/`
  2. export XDG_CACHE_HOME="$HOME/.cache"
  3. export XDG_CONFIG_HOME="$HOME/.config"
  4. export XDG_DATA_HOME="$HOME/.local/share"
  5. export XDG_RUNTIME_HOME="$HOME/.local/current"
  6. export ZDOTDIR="$XDG_CONFIG_HOME/shell/"
  7. export INPUTRC="$XDG_CONFIG_HOME/inputrc"
  8. export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
  9. export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/config"
  10. export M2_REPO="$XDG_DATA_HOME/m2/"
  11. export GEM_HOME="$XDG_DATA_HOME/gem/"
  12. export LEIN_HOME="$XDG_DATA_HOME/lein/"
  13. export XAUTHORITY="$XDG_DATA_DIR/Xauth"
  14. export GNUPGHOME="$XDG_DATA_HOME/gnupg/"
  15. export JDTLS_HOME="$XDG_DATA_HOME/jdtls/"
  16. export NPM_PACKAGES="$XDG_DATA_HOME/node/"
  17. export CONAN_USER_HOME="$XDG_DATA_HOME/conan/"
  18. export LUAROCKS_HOME="$XDG_DATA_HOME/luarocks/"
  19. export WINEPREFIX="$XDG_DATA_HOME/wine/default/"
  20. export NODE_PATH="$NODE_PATH:$NPM_PACKAGES/lib/node_modules/"
  21. export WGETHISTFILE="-"
  22. export LESSHISTFILE="-"
  23. # Fix for wayland
  24. export XDG_CURRENT_DESKTOP=sway
  25. export XDG_SESSION_TYPE=wayland
  26. export QT_QPA_PLATFORMTHEME=qt6ct
  27. export QT_QPA_PLATFORM=wayland
  28. export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
  29. export CLUTTER_BACKEND=wayland
  30. export SDL_VIDEODRIVER=wayland
  31. export MOZ_ENABLE_WAYLAND=1
  32. export _JAVA_AWT_WM_NONREPARENTING=1
  33. export ECORE_EVAS_ENGINE=wayland_egl
  34. export ELM_ENGINE=wayland_egl
  35. # Java stuff
  36. export ANT_EXECUTABLE="/usr/bin/ant/"
  37. export JAVA_HOME="/usr/lib/jvm/openjdk11/"
  38. export JAVA_INCLUDE_DIR="$JAVA_HOME/include/"
  39. # Local scripts directory
  40. export USER_SCRIPTS="$HOME/.local/scripts/"
  41. # Path to local void repo
  42. export XBPS_DISTDIR="$HOME/.local/repo/void-packages/"
  43. export VOID_SRCPKGS="$XBPS_DISTDIR/srcpkgs/"
  44. # Paths to user home data
  45. export PICTURES="$HOME/Media/Pictures/"
  46. export VIDEOS="$HOME/Media/Videos/"
  47. export MUSIC="$HOME/Media/Music/"
  48. export WORKSPACE="$HOME/Code/"
  49. export PUBLIC="$HOME/Share/"
  50. export MY_PICTURES="$PICTURES/MyPictures/"
  51. export MY_VIDEOS="$VIDEOS/MyVideos/"
  52. export MY_MUSIC="$MUSIC/MyMusic/"
  53. # Modify ls/term colors
  54. export LS_COLORS='di=1;35:fi=0;97:ln=4;36:or=5;31:ex=1;0;44'
  55. # Set default programs
  56. export EDITOR="nvim"
  57. export TERMINAL="foot"
  58. export BROWSER="nyxt"
  59. export SHELL="/usr/bin/zsh"
  60. # Set PATH var
  61. export PATH="$PATH:$USER_SCRIPTS:$XBPS_DISTDIR:$NPM_PACKAGES/bin/:$GEM_HOME/bin/:$HOME/.nimble/bin/:$HOME/.local/bin/clion/bin:$HOME/.local/bin/:/usr/local/bin/"