.xsessionrc

changeset 507
2ac6810a2e4a
parent 385
e3c8e2bdfccf
child 508
b4f827c47130
equal deleted inserted replaced
506:2a6899f40b2e 507:2ac6810a2e4a
1 #!/bin/bash 1 #!/bin/bash
2
3 VIRT='no'
2 4
3 if [ "$(uname -s)" = "OpenBSD" ]; then 5 if [ "$(uname -s)" = "OpenBSD" ]; then
4 PATH="/usr/X11R6/bin:$PATH" 6 PATH="/usr/X11R6/bin:$PATH"
5 fi 7 fi
6 8
21 23
22 if [ -r ~/.xsessionrc.local ]; then 24 if [ -r ~/.xsessionrc.local ]; then
23 . ~/.xsessionrc.local 25 . ~/.xsessionrc.local
24 fi 26 fi
25 27
28 if [ "$VIRT" = "yes" ]; then
29 xset b off -dpms s off
30 else
31 xset b off
32 xautolock -detectsleep &
33 xfce4-power-manager
34 pulseaudio --daemonize
35 nm-applet &>/dev/null </dev/null &
36 fi
37

mercurial