#!/bin/bash

# Sending SIGHUP to all dcui processes (usually just one) to redraw it.
# This should be done every time information presented there changes as DCUI
# is not polling for changes.
for pid in `pgrep -f 'dcui.py'`
do
    kill -HUP $pid
done
