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
|
export LESS='-i -R'
TERMINAL=xterm
[ -e /usr/bin/urxvt ] && TERMINAL=urxvt
[ -x /usr/local/bin/st ] && TERMINAL=st
export TERMINAL=$TERMINAL
BROWSER='firefox --new-tab'
export BROWSER=$BROWSER
if type 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
# 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,'
|