blob: b9c7e9c60d0b904b8e0618667a002283d1bb4a07 (
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
|
#pull inna vars
source ~/.config/init/vars
#merge Xresources
if [ -s ~/.Xresources ]
then
xrdb -override ~/.Xresources
fi
if [ -s /tmp/urxvt-theme ]
then
xrdb -override /tmp/urxvt-theme
fi
#add compose key
setxkbmap -option compose:caps
#input!
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &
#keyrate
xset r rate $kbdelay $kbrate
#store sxiv cache in ram
export XDG_CACHE_HOME=/home/shmibs/.cache
if [ -d /tmp/ ]; then
mkdir -p /tmp/sxiv
cd /home/shmibs/.cache/
ln -sf /tmp/sxiv .
cd
fi
#load more fonts
xset +fp /usr/share/fonts/local
xset +fp /usr/share/fonts/misc
xset +fp ~/.fonts
xset fp rehash
#disable power saving, so screen doesn't power off
xset -dpms
xset s off
#daemons
compton -b --backend glx --vsync opengl
#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 lemonbar)
xsetroot -cursor_name left_ptr
nitrogen --restore
xbanish &
redshift -b 0.9:0.5 -t 6400K:4300K &
exec herbstluftwm
|