THEAARBS profile

Raw

#!/bin/sh

# Start mpd daemon
mpd >/dev/null 2>&1 &

# Restore pywal color scheme
wal -Rn >/dev/null &

# Get NIC info for VPN status in dwmbar
echo $(ls /sys/class/net) | tr " " "|" >/tmp/mynics &

# Start notification daemon
dunst &

# Set background wallpaper
setbg &

# Start compositing manager for transparency
xcompmgr &

# Start statusbar script
dwmbar &

# Unclutter hides an idle mouse cursor
unclutter &

# Set xset keyboard settings
xset r rate 300 50 &

# Start xflux for color temp
#xflux -z 68137 &

# Set Caps to Mod/Escape
setxkbmap -option caps:escape &

# This will update the status bar
# when a command changes the music player's status

while pgrep -x mpd; do
	mpc idle >/dev/null 2>&1
	refbar
done &