#!/bin/sh

start() {
  if ! pgrep -f $1 ;
  then
    $@&
  fi 
}

# music
start mpd
start mpDris2 # add playerctl support to mpd

# compositor
start picom --experimental-backends --config $HOME/.config/awesome/theme/picom.conf

# auth
start /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

# load X colors
start xrdb $HOME/.Xresources

start xwallpaper --zoom ~/Pictures/city-topview.png
