aboutsummaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 30122572612c9d7cec2b21173e369ec50617d8ee (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
#merge Xresources
if [ -s ~/.Xresources ]
then
	xrdb -merge ~/.Xresources
fi

#add compose key
if [ -s ~/.Xmodmap ]
then
	xmodmap ~/.Xmodmap
fi

#input!
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &

#clean up sxiv cache
#and ensure necessary EV
#exists
sxiv -c
export XDG_CACHE_HOME=/home/shmibs/.cache

#load local fonts
xset +fp /usr/share/fonts/local
xset fp rehash

#disable power saving
xset -dpms
xset s off

#urxvt daemon
urxvtd &

#smplayer screenshot tmp dir
if [ ! -d /tmp/smplayer_screenshots ]
then
	mkdir /tmp/smplayer_screenshots
fi

xsetroot -cursor_name left_ptr
compton -b --backend glx --vsync opengl &
#ibus-daemon -x &
nitrogen --restore &

exec mate-session