#!/usr/bin/env bash function log_this() { TSTMP=$(date) echo "$TSTMP : " $1 >> $DWL_LOG_FILE } # ---------------------------------------------------------- # Let DWL start # ---------------------------------------------------------- log_this "Switch Context: Configuring $(wlr-randr | grep -E "^\w+" | wc -l) displays" source ~/bin/dwl.randr_setup log_this "Switch Context: Starting somebar using $SOMEBAR_FIFO" source ~/bin/dwl.bar_setup