dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

.xinitrc (1317B)


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
#!/bin/sh
#
# author   : Xu Xiaodong <xxdlhy@gmail.com>
# modified : 2017 Jan 14
#

#-- font --#
xset +fp /usr/share/fonts/misc,/usr/share/fonts/local
xset fp rehash

#-- powersave --#
xset +dpms
xset dpms 0 0 300

#-- browser --#
export BROWSER=dwb

#-- qt --#
export QT_STYLE_OVERRIDE=gtk2

#-- neovim --#
export NVIM_TUI_ENABLE_TRUE_COLOR=1

#-- java --#
export _JAVA_AWT_WM_NONREPARENTING=1

#-- ime --#
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &

#-- app --#
xmodmap ~/.xmodmaprc &                             # swap Caps_Lock and Control_L
hsetroot -fill ~/usr/img/mountain.jpg &            # set wallpaper
xsetroot -cursor_name left_ptr &                   # default cursor
sxhkd &                                            # start hotkey daemon
yabar &                                            # start bar
compton -cGb                                       # add fancy shadows
unclutter -idle 5 &                                # hide mouse cursor
syndaemon -t -k -i 2 -d &                          # disable trackpad while typing
autocutsel -fork &                                 # track cutbuffer
urxvtd -q -f -o                                    # urxvt daemon
urxvtc -geometry 100x27+20+722 -e sh -c "tmuxen" & # start tmux

#-- wm --#
exec windowchef