xref: /dflybsd-src/nrelease/gui/root/.xinitrc (revision 7eb3d59f73026ff7c8b6d53cbea198c972753494)
1269886eeSMatthew Dillon#!/bin/tcsh
2269886eeSMatthew Dillon#
33f279b9eSSascha Wildner
4269886eeSMatthew Dillonumask 022
5269886eeSMatthew Dillon#limit maxproc 200
6269886eeSMatthew Dillon#limit datasize unlimit
7269886eeSMatthew Dillon
8269886eeSMatthew Dillonset userresources = "$HOME/.Xresources"
9269886eeSMatthew Dillonset usermodmap = "$HOME/.Xmodmap"
10269886eeSMatthew Dillon
11269886eeSMatthew Dilloncd $HOME
12269886eeSMatthew Dillon
13269886eeSMatthew Dillonif ( -f $userresources ) then
14269886eeSMatthew Dillon    xrdb -merge $userresources
15269886eeSMatthew Dillonendif
16269886eeSMatthew Dillon
17269886eeSMatthew Dillonif ( -f $usermodmap ) then
18269886eeSMatthew Dillon    xmodmap $usermodmap
19269886eeSMatthew Dillonendif
20269886eeSMatthew Dillon
21*7eb3d59fSMichael Neumannxinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1
22*7eb3d59fSMichael Neumann
23269886eeSMatthew Dillonxset m 2 1
24269886eeSMatthew Dillon(limit core 0; xscreensaver -nosplash) &
25269886eeSMatthew Dillonasclock -shape -position -60+345 -led green -noblink &
26269886eeSMatthew Dillonxclock -geometry 80x80-1+250 &
27269886eeSMatthew Dilloneval `/usr/bin/ssh-agent -c`
28269886eeSMatthew Dillonsetenv TERM xterm
29269886eeSMatthew Dillon
30269886eeSMatthew Dillon# start window manager here
31269886eeSMatthew Dillon#
32*7eb3d59fSMichael Neumann/usr/local/bin/fvwm3 -f ~/.fvwm/.fvwm2rc
33269886eeSMatthew Dillon#startkde
34269886eeSMatthew Dillon
35269886eeSMatthew Dillon/bin/kill $SSH_AGENT_PID
36269886eeSMatthew Dillonjobs -l >.tmp.$$
37269886eeSMatthew Dillon/bin/kill `awk '{ print $3; }' < .tmp.$$`
38269886eeSMatthew Dillonrm -f .tmp.$$
39