forked from FruitieX/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
56 lines (50 loc) · 1.5 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
feh --bg-tile ~/dotfiles/.compiled/bg.png &
xrdb ~/.Xdefaults
# e.g. terminus-font lives here
xset +fp /usr/share/fonts/local
#xset +fp ~/.fonts
#xset fp rehash
# disable turning screen off automatically
xset -dpms &
xset s off &
# disable mouse accel
xset m 1 1 &
unset TMUX
# autostart, all hosts
redshift -l 0:0 &
xsetroot -cursor_name left_ptr &
compton --config ~/.compton.conf &
dunst &
unclutter -idle 3 &
dsjd &
parcellite &
# hostname specific setup
if [[ $HOSTNAME == "servy" ]]; then
xrandr --output DVI-0 --rotate right
killall tmux
urxvt -title tmux -e ~/bin/tmx &
else
if [[ $HOSTNAME == "lappy" ]]; then
# work
xrandr --newmode "1920x1200" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
xrandr --addmode VGA-0 "1920x1200"
xrandr --output VGA-0 --mode "1920x1200" --left-of LVDS-0
synergys -c ~/.synergy.conf &
elif [[ $HOSTNAME == "mba" ]]; then
synclient PalmDetect=1 MaxSpeed=3 &
synergyc lappy &
avant-window-navigator &
elif [[ $HOSTNAME == "bulky" ]]; then
# home
xrandr --output HDMI1 --mode 1920x1080 --rate 75 --rotate left --pos 0x0
xrandr --output HDMI2 --mode 1920x1080 --rate 75 --rotate normal --pos 1080x475
xrandr --output VGA1 --mode 1920x1080 --rate 75 --rotate right --pos 3000x0
#~/src/synergy/bin/synergyc --crypto-pass $(cat $HOME/.synergy_pass) -f 10.8.0.51:24800 > /dev/null 2>&1 &
fi
node ~/dev/node/nodifier/clients/notify-send/notify-send.js &
nm-applet &
numlockx &
pasystray &
start-pulseaudio-x11 &
fi
exec i3