#!/usr/bin/env sh
# This file is sourced when launching a DM from startx/xinit
# session launch
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/X11/xresources
xss-lock -- slock &
redshift &
dunst -follow mouse &> /dev/null & #temp fix
# MPD daemon start (if no other user instance exists)
[ ! -s ~/.config/mpd/pid ] && mpd
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
pulsemixer --set-volume 50
setbg &
dwmblocks &
setxkbmap 'fr(oss)'
xset r rate 300 50 &
sxhkd &