aboutsummaryrefslogtreecommitdiff
path: root/.env
blob: c8c184f75196a5ce9a3ab91c1b97d201ddde0b5f (plain)
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
export VISUAL=vim
export EDITOR=vim

export LANG=en_US.UTF-8

export GPG_TTY=$(tty)
export LESS='-i -R'

TERMINAL=xterm
[ -e /usr/bin/urxvt ] && TERMINAL=urxvt
command -v foot > /dev/null && TERMINAL='foot'
export TERMINAL=$TERMINAL

export BROWSER='firefox'

if command -v fcitx5 > /dev/null; then
    export GLFW_IM_MODULE=ibus
    export GTK_IM_MODULE=fcitx
    export QT_IM_MODULE=fcitx
    export XMODIFIERS=@im=fcitx
    export INPUT_METHOD=fcitx
    export SDL_IM_MODULE=fcitx
fi

if command -v delta > /dev/null; then
    export GIT_PAGER='delta --diff-highlight'
fi

export GTAGSLABEL=native-pygments

# XBOX Controller Remap
export SDL_GAMECONTROLLERCONFIG='050000005e040000130b000013050000,Xbox Series X Controller,a:b1,b:b0,x:b4,y:b3,back:b10,guide:b12,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,platform:Linux,'