-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshenv
55 lines (48 loc) · 1.69 KB
/
.zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Default apps
export TERM=xterm-256color
export VISUAL=nvim
export EDITOR=nvim
export SUDO_EDITOR=nvim
export READER=zathura
export BROWSER=firefox
# XDG paths
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_DATA_HOME="$HOME"/.local/share
# Wayland fix
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=qt5ct
export XDG_CURRENT_DESKTOP=Hyprland
export XDG_SESSION_DESKTOP=Hyprland
export XDG_CURRENT_SESSION_TYPE=wayland
export GDK_BACKEND=wayland,x11
export MOZ_ENABLE_WAYLAND=1
# Fixing paths
# export JAVA_HOME=/usr/lib/jvm/java-22-openjdk
export GOPATH=$XDG_DATA_HOME/go
export CARGO_HOME=$XDG_DATA_HOME/cargo
export NPM_CONFIG_HOME=$XDG_CONFIG_HOME/npm/npmrc
export GTK2_RC_FILES=$XDG_DATA_HOME/gtk-2.0/gtkrc
export ZDOTDIR=$HOME/.config/zsh
export CHROME_EXECUTABLE=/opt/google/chrome/google-chrome
export ANDROID_HOME=$HOME/Android/Sdk
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
export PATH="$HOME/.pyenv/bin:$PATH"
export PATH=$PATH:/opt/flutter/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export PATH=$PATH:/opt/anaconda/bin
# History
export HISTSIZE=10000
export SAVEHIST=10000
export HISTFILE=$ZDOTDIR/.zhistory
export PYTHONSTARTUP=/dev/null
# Scaling
# export QT_AUTO_SCREEN_SCALE_FACTOR=0
# export QT_SCALE_FACTOR=1
# export QT_SCREEN_SCALE_FACTORS="1;1;1"
# export GDK_SCALE=1
# export GDK_DPI_SCALE=1
# Misc
export TEXMFVAR="/var/lib/texmf"
export FZF_DEFAULT_OPTS="--height=100% --reverse --color=bg+:#1a1b26,bg:#1a1b26,border:#1a1b26,spinner:#1abc9c,hl:#ff007c,fg:#c0caf5,header:#ffffff,info:#1abc9c,pointer:#f7768e,marker:#db4b4b,fg+:#a9b1d6,preview-bg:#1a1b26,prompt:#7aa2f7,hl+:#1abc9c"