#!/bin/bash

# Some UI stuff
nitrogen --restore

# Battery observer
nice -n 20 ~/.config/scripts/batteryobserver.sh &

# Composition manager
compton -b

# Automounting
thunder --daemon &
udiskie -2 -N &

# Autolocking
xss-lock -- ~/.config/scripts/lock.sh &

# Auto hiding mouse
unclutter --timeout 2 -b

# Bars
nice ~/.config/scripts/bar2.sh 2>&1 1>~/.baroutput &

# Autostart programs
( sleep 3; (
nice thunderbird &
#nice pidgin &
nice gajim &
nice urxvt -name "Weechat" -e "weechat" &
) ) &