.xsessionrc

changeset 617
595c6f803258
parent 609
46f19b7955d8
child 823
da66fb550c74
equal deleted inserted replaced
616:6c094ff1cb87 617:595c6f803258
5 5
6 if [ "$PLATFORM" = "OpenBSD" ]; then 6 if [ "$PLATFORM" = "OpenBSD" ]; then
7 PATH="/usr/X11R6/bin:$PATH" 7 PATH="/usr/X11R6/bin:$PATH"
8 fi 8 fi
9 9
10 hsetroot -solid "#002244" >/dev/null 2>&1 || \ 10 make -s -C ~/.i3 || {
11 cat ~/.i3/config.d/* > ~/.i3/config
12 cat ~/.i3/status.d/* > ~/.i3/status
13 }
14
15 hsetroot -solid "#002244" ||
11 xsetroot -def -solid "#002244" 16 xsetroot -def -solid "#002244"
12
13 xcompmgr -n >/dev/null 2>&1 </dev/null &
14 17
15 xmodmap ~/.xmodmaprc 18 xmodmap ~/.xmodmaprc
16 if [ -r ~/.xmodmaprc.local ]; then 19 if [ -r ~/.xmodmaprc.local ]; then
17 xmodmap ~/.xmodmaprc.local 20 xmodmap ~/.xmodmaprc.local
18 fi 21 fi
19 22
20 if [ -r ~/.Xdefaults.local ]; then 23 if [ -r ~/.Xdefaults.local ]; then
21 xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults 24 xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
22 fi 25 fi
23 26
24 urxvtd -q -o -f 27 xcompmgr -n &
25 28
26 make -s -C ~/.i3 || { 29 urxvtd -o &
27 cat ~/.i3/config.d/* > ~/.i3/config
28 cat ~/.i3/status.d/* > ~/.i3/status
29 }
30 30
31 if [ -r ~/.xsessionrc.local ]; then 31 if [ -r ~/.xsessionrc.local ]; then
32 . ~/.xsessionrc.local 32 . ~/.xsessionrc.local
33 fi 33 fi
34 34
35 if [ "$VIRT" = "yes" ]; then 35 if [ "$VIRT" = "yes" ]; then
36 xset b off -dpms s off 36 xset b off -dpms s off
37 else 37 else
38 xset b off s 300 dpms 360 38 xset b off s 300 dpms 360
39 xautolock -detectsleep & 39 xautolock -detectsleep &
40 pulseaudio --daemonize 40 pulseaudio --daemonize=no &
41 nm-applet >/dev/null 2>&1 </dev/null & 41 nm-applet &
42 fi 42 fi
43 43
44 jobs >&2
45

mercurial