blob: 5a9abe1d4c2ec99798b406179ee0849907c7dfbf (
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
# start automatic lock based on xssstate and i3lock
if [ -x "$HOME/bin/xorg_autolock" ]; then
$HOME/bin/xorg_autolock &
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
|