summaryrefslogtreecommitdiff
path: root/autostart
blob: a4437379be28c860f8db918d07aeb2510572724e (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
#!/usr/bin/env zsh

feh --no-xinerama --image-bg black --bg-fill "$HOME/image/MIPS-R3000A-die.jpg" &

xset s 0 &
xset b off &
xset +fp $HOME/.fonts &

mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt &

xmodmap $HOME/.Xmodmap &
xbindkeys &

urxvtd -q -f -o &

imwheel &>/dev/null &
unclutter -idle 5 &

if [[ -x $(which sloppy) ]]; then
  sloppy &
fi

$HOME/.local/bin/notification-daemon-launch &

if [[ $RATPOISON == "ratpoison" && -x $(which acpi 2&>/dev/null) ]]; then
  $HOME/.local/bin/ratcpi &
fi

$HOME/.local/bin/mouse-settings &

if [[ $(hostname) == "bogues" ]]; then
  xrandr --output VGA1 --off &
  xrandr --output VGA0 --off &
  xrandr --output VGA-0 --off &
  xrandr --output VGA-1 --off &

  mkdir -p /media/ext_sd/tmp
  chmod 777 /media/ext_sd/tmp
fi

if [[ -x $(which notmuchfs) ]]; then
  notmuchfs ~/.notmuchfs -o backing_dir=$HOME/.notmuchfs_backing -o mail_dir=$HOME/.mail -o mutt_2476_workaround
fi