#!/usr/bin/env sh
# This file is sourced when launching a DM from startx/xinit
# session launch
redshift &
dunst -follow mouse &> /dev/null & #temp fix
# MPD daemon start (if no other user instance exists)
[ -z "$(pidof mpd)" ] && mpd
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
pulsemixer --set-volume 50
sbacklight set 3 &
setbg &
dwmblocks &
xrdb "$XDG_CONFIG_HOME/X11/xresources"
xautolock -locker slock -time 5 -corners 000- &
setxkbmap 'fr(oss)'
remaps &
sxhkd &