Switch to xscreensaver
This commit is contained in:
parent
bb74730c68
commit
ce676b8aba
3 changed files with 9 additions and 2 deletions
1
setup.sh
1
setup.sh
|
@ -66,4 +66,5 @@ elif have startx; then
|
||||||
link_file Xdefaults .Xdefaults
|
link_file Xdefaults .Xdefaults
|
||||||
link_file Xmodmap .Xmodmap
|
link_file Xmodmap .Xmodmap
|
||||||
link_file xinitrc .xinitrc
|
link_file xinitrc .xinitrc
|
||||||
|
link_file xscreensaver .xscreensaver
|
||||||
fi
|
fi
|
||||||
|
|
7
xinitrc
7
xinitrc
|
@ -1,3 +1,5 @@
|
||||||
|
export LC_ALL="de_DE.UTF-8"
|
||||||
|
|
||||||
if [ "$(uname)" = "NetBSD" ]; then
|
if [ "$(uname)" = "NetBSD" ]; then
|
||||||
echo "EXECUTING" >/tmp/foo
|
echo "EXECUTING" >/tmp/foo
|
||||||
xset fp+ /usr/pkg/share/fonts/X11/misc
|
xset fp+ /usr/pkg/share/fonts/X11/misc
|
||||||
|
@ -12,8 +14,9 @@ elif [ "$(uname)" = "OpenBSD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xmodmap "$HOME/.Xmodmap"
|
xmodmap "$HOME/.Xmodmap"
|
||||||
if type -q xidle && type -q xlock; then
|
|
||||||
xidle -program "$(which xlock) -usefirst" -timeout 300 &
|
if type -q xscreensaver; then
|
||||||
|
xscreensaver &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec ssh-agent ctwm -W
|
exec ssh-agent ctwm -W
|
||||||
|
|
3
xscreensaver
Normal file
3
xscreensaver
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
splash: False
|
||||||
|
lock: True
|
||||||
|
mode: blank
|
Loading…
Add table
Add a link
Reference in a new issue