-
Notifications
You must be signed in to change notification settings - Fork 21
/
.xinitrc2
executable file
·65 lines (47 loc) · 1.24 KB
/
.xinitrc2
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
57
58
59
60
61
62
63
64
65
#!/bin/bash
#
# X Windows startup file.
#
cd
echo
echo '~/.xinitrc2 starting at' "$(date --rfc-3339=seconds)"
echo
# Make sure ssh-agent is an ancestor.
if [ -z "$SSH_AGENT_PID" ]
then
echo
echo '$SSH_AGENT_PID is empty - restarting as the child of a new ssh-agent'
echo
exec ssh-agent /bin/bash ~/.xinitrc2
fi
# Make sure that all child processes inherit my standard environment.
source .bashrc
# Establish my default X Windows settings.
$HOME/bin/,xset
# Turn off the touchpad on my ThinkPad T430, since I rely on its eraser
# joystick and hardware buttons instead.
DEVICE="SynPS/2 Synaptics TouchPad"
if xinput --list | grep -q "$DEVICE"
then xinput disable "$DEVICE"
fi
# Start services and applets.
trayer --edge top --align right --width 6 &
~/.fvwm/battery-check-loop &
autocutsel &
# blueman-applet &
# indicator-cpufreq &
nm-applet &
~/.fvwm/xautolock &
xfce4-volumed &
xiccd &
[ -x ~/.emacs.d/pycl.sh ] && ~/.emacs.d/pycl.sh &
if [ -d $HOME/.dropbox-dist/ ]
then $HOME/.dropbox-dist/dropbox-*/dropbox start &
fi
if [ -d $HOME/local/ipynb ]
then $HOME/local/ipynb/bin/jupyter-notebook --no-browser -y &
fi
# Turn off Yubikey before I have the chance to accidentally touch it.
$HOME/bin/,yubi &
# xfce4-power-manager ?
exec fvwm