blob: 58752c877b76bc0c983f56ab1637a6835fb61d8f (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#!/bin/sh
. $HOME/.shenv
# ---- screen locking
# don't lock in develacc, because that's just annoying, and the
# session is protected by main screen locker
in-develacc || i3-startup-i3lock
# ---- xrandr on specific hosts
# this relies on having set the video device to 'virtio' in virt-manager
if [ "$(hostname -f)" = "develacc.iris.silentflame.com" ]; then
xrandr --output Virtual-1 --mode 1366x768
fi
# ---- GTK
gnome-settings-daemon &
# ---- brightness keys
xfce4-power-manager &
# ---- input methods
if ! in-develacc; then
# work around Debian bug #812826
pkill -u $USER ibus-daemon
IBUS_ENABLE_SYNC_MODE=0 ibus-daemon --xim --daemonize
fi
# ---- startup applications
if ! in-develacc; then
nm-applet &
# the systemd user unit for mpd can fail because it doesn't get
# XDG_RUNTIME_DIR set, so disable it and start ourselves
systemctl --user mask mpd ||:
pgrep -u "$USER" mpd || mpd &
evolution &
caffeine-indicator &
workrave &
redshift-gtk & # co-ords from config file
fi
# compositing config on zephyr
# compton --daemon \
# --inactive-opacity=0.75 --frame-opacity=0.85 -c -C --active-opacity=0.85
emacs --daemon &
|