live-reload: change part of the WM_CLASS

This commit is contained in:
miruka 2019-10-29 13:35:19 -04:00
parent 7a5a1fc650
commit 83dc09a684

View File

@ -13,7 +13,8 @@ qmake harmonyqml.pro CONFIG+=dev && make
while true; do while true; do
find src harmonyqml.pro -type f | find src harmonyqml.pro -type f |
# -name affects the first part of the WM_CLASS returned by xprop on Linux
entr -cdnr sh -c \ entr -cdnr sh -c \
"qmake harmonyqml.pro CONFIG+=dev && make && ./harmonyqml $*" "qmake harmonyqml.pro CONFIG+=dev && make && ./harmonyqml -name dev $*"
sleep 0.2 sleep 0.2
done done