-
Notifications
You must be signed in to change notification settings - Fork 9
/
.xprofile
executable file
·67 lines (56 loc) · 1.74 KB
/
.xprofile
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
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
old_path=$PATH
old_man_path=$MANPATH
mkdir -p /tmp/gentoo
sudo mount --bind ~/tmp/gentoo /tmp/gentoo
source /tmp/gentoo/etc/profile
export PATH=/home/amos/scripts:$old_path:$PATH
export MANPATH=$old_man_path:$MANPATH
export XDG_DATA_DIRS=/usr/share
caps-indicator
xset s off -dpms
xset b off
picom -b
unclutter --timeout 1 --jitter 10 -b --ignore-scrolling
sudo xkeysnail --watch /home/amos/git/serverconfig/xkeysnail.py &
export GUI=t
export XAPIAN_CJK_NGRAM=1
export BSPWM_STATE=/tmp/bspwm-state.json
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export XIM=fcitx
export XIM_PROGRAM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export SDL_IM_MODULE=fcitx
export INPUT_METHOD=fcitx
export GLFW_IM_MODULE=ibus
export QT_QPA_PLATFORMTHEME=gtk2
export AWT_TOOLKIT=XToolkit
export _JAVA_AWT_WM_NONREPARENTING=1
# export _JAVA_OPTIONS="$_JAVA_OPTIONS -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
export AMPLXE_RUNTOOL_OPTIONS=--no-altstack
export QT_AUTO_SCREEN_SCALE_FACTOR=1
#export QT_SCALE_FACTOR=2
#export QT_SCREEN_SCALE_FACTORS=2
export XDG_CURRENT_DESKTOP=i3
case $(hostname) in
abt480) ;;
*)
export GDK_SCALE=2 GDK_DPI_SCALE=0.5
export LIBVA_DRIVER_NAME=nvidia
;;
esac
export WINEARCH=win32
_envs=(
GDK_SCALE GDK_DPI_SCALE
XCURSOR_THEME XCURSOR_SIZE
XMODIFIERS QT_IM_MODULE GTK_IM_MODULE
LIBVA_DRIVER_NAME GST_VAAPI_ALL_DRIVERS
)
dbus-update-activation-environment "${_envs[@]}"
systemctl --user import-environment "${_envs[@]}"
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig
eval "$(ssh-agent)"