-
Notifications
You must be signed in to change notification settings - Fork 2
/
.xinitrc
executable file
·86 lines (62 loc) · 1.52 KB
/
.xinitrc
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
#!/bin/bash
# Spawn mail syncer in the background
#syncMail &>/dev/null &
# Spawn rssdler in the background
rssdler -o &>/var/log/rssdler &
# Xrandr layout
#sh .screenlayout/setup.sh
# Merge X settings
xrdb -merge $HOME/.Xresources &
# Start unclutter
unclutter -idle 2 -root &
# Start keynav for keyboard navigation
keynav &
# Make forward & back mouse buttons work
imwheel -k -b "67" > /dev/null &
# Enable Glyph Cache
#nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1 > /dev/null &
# Enable sound
amixer set Front 100 unmute > /dev/null &
amixer set Line mute > /dev/null &
mpc volume 74 &
# Load animenfo if playlist is empty
([[ $(mpc playlist) ]] || mpc load animenfo) &
# Run urxvtd, to start terminals faster
urxvtd &
# Set keyboard layout
hdv_te &
# WMName for Java
wmname LG3D &
# Set keyboard repeat rate
xset r rate 180 80 &
# Add local fonts
xset fp+ /usr/share/fonts/local
# Turn off screensaver
xset s off
#Control mouse speed
xset m 1/1 1
#Boot up synergy
sudo /etc/rc.d/synergys start
# Monitor-specific commands
#for display in ":0.0" ":0.1" ":0.2" ":0.3" ":0.4" ":0.5";
#do
## Set background color to gray
#DISPLAY=$display xsetroot -solid black &
## Set mouse speed
#DISPLAY=$display xset m 1.5 1
## Start a term
#(sleep 1 ; DISPLAY=$display urxvtc) &
#done;
# Turn off touchpad
#tsy 1
# Start compositing
#xcompmgr -r0 &
# Start WM
while true;
do
#awesome &> ~/.awesome.log
#pekwm &> ~/.pekwm.log
i3 &> ~/.i3.log
#goomwwm &> ~/.goomwwm.log
#sleep 25
done;