#!/bin/sh
# dms (Dynamic Minimal Session) - starts the bar, launcher-adjacent daemons
# and clipboard tooling dwl itself doesn't provide, then hands off to dwl.
# dwl's own keybinds (config.h) launch foot and wofi directly; this script
# only owns what has to run in the background before dwl starts.

[ -r /etc/dms/dms.conf ] && . /etc/dms/dms.conf

swaybg -c "${DMS_BG_COLOR:-1c1c1c}" &
waybar &
mako &
wl-paste --type text --watch cliphist store &
wl-paste --type image --watch cliphist store &

exec dwl
