blob: b738bd968e66b353b23f96bba7fea851836d9a78 (
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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#merge Xresources
if [ -s ~/.Xresources ]
then
xrdb -merge ~/.Xresources
fi
echo "1" > test
#add compose key
if [ -s ~/.Xmodmap ]
then
xmodmap ~/.Xmodmap
fi
echo "2" >> test
#input!
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &
echo "3" >> test
#clean up sxiv cache
#and ensure necessary EV
#exists
sxiv -c
export XDG_CACHE_HOME=/home/shmibs/.cache
echo "4" >> test
#clear vimtags
#rm ~/.vimtags
echo "5" >> test
#load more fonts
xset +fp /usr/share/fonts/local
xset +fp /usr/share/fonts/misc
xset fp rehash
echo "6" >> test
#infinality settings
export INFINALITY_FT_BRIGHTNESS="-10"
export INFINALITY_FT_FILTER_PARAMS="16 20 28 20 16"
echo "7" >> test
#disable power saving, so screen doesn't power off
xset -dpms
xset s off
echo "8" >> test
#daemons
urxvtd &
compton -b --backend glx --vsync drm
echo "9" >> test
#QT style mimic gtk
#export QT_STYLE_OVERRIDE=gtk
#this is an ugly hack which runs a dummy program
#through bumblebee to get the fans on discrete
#nvidia graphics cards to shut up
command -v optirun && $(echo "" | optirun bar)
echo "10" >> test
xsetroot -cursor_name left_ptr
nitrogen --restore
echo "11" >> test
exec mate-session
|