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

xmodmap $HOME/.Xmodmap
xbindkeys
feh --no-xinerama --image-bg black --bg-fill "$HOME/.sync/sync/image/MIPS-R3000A-die.jpg"
imwheel &>/dev/null &
unclutter -idle 5 &
xset s 0 &
xset b off &
xset +fp $HOME/.fonts &
xset -display :0 dpms 0 0 300
notification-daemon-launch &
mouse-settings &
sloppy &
q3servers &

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

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

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

if [[ -x $(which notmuchfs) || -x /home/pks/.local/bin/notmuchfs ]]; then
  rmdir /tmp/pks/notmuchfs*/*
  rmdir /tmp/pks/notmuchfs*
  mkdir -p /tmp/pks/notmuchfs /tmp/pks/notmuchfs_backing
  notmuchfs /tmp/pks/notmuchfs \
    -o backing_dir=/tmp/pks/notmuchfs_backing \
    -o mail_dir=$HOME/.mail \
    -o mutt_2476_workaround
fi