Refactor: Change from using xprop to xsetroot

This commit is contained in:
Narvin Singh 2020-12-25 21:22:42 -05:00
parent 3ee3574351
commit b79e5bbcd0

View File

@ -136,7 +136,7 @@ while :; do
if [[ "${DT_ON}" -ne 0 ]]; then
add_stat "$(status_dt)" "${DT_SYM}"
fi
xprop -root -set WM_NAME " ${status} "
xsetroot -name " ${status} "
# Sleep until the beginning of the next minute, this way when we are showing
# the time, the status updates on the minute