blob: 1549ad1862a953d539d58d633aa4f0067e3d39db (
plain)
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
|
#!/usr/bin/env bash
# use .Xmodmap
if [ -f ~/.Xmodmap ]; then
/usr/bin/xmodmap ~/.Xmodmap &
fi
# set X settings
if [ -x /usr/bin/xset ]; then
# disable bell
xset -b
fi
# start lxpolkit to have polkit authentication
if [ -x /usr/bin/lxpolkit ]; then
/usr/bin/lxpolkit &
fi
# setup screens on login using autorandr
if [ -x "$HOME/bin/setup_screens" ]; then
"$HOME/bin/setup_screens" &
fi
# lock X before going to sleep
if [ -x "/usr/bin/xss-lock" ]; then
/usr/bin/xss-lock xorg_lock &
fi
# start redshift
if [ -x /usr/bin/redshift ]; then
/usr/bin/redshift-gtk &
fi
# start a termite terminal
if [ -x /usr/bin/termite ]; then
termite &
fi
|