dwmstatus/dwmstatus-restart
2022-12-28 19:09:24 +01:00

17 lines
245 B
Bash
Executable File

#!/bin/sh
if pgrep -x dwmstatus 2>&1 >/dev/null;
then
printf "Killing old dwmstatus instances ... "
pkill -KILL -x dwmstatus
printf "done.\n"
fi
if [ -e $HOME/.xinitrc ];
then
cat $HOME/.xinitrc | grep dwmstatus | sh
else
dwmstatus &
fi