From c084db201a76d07f5017e028e0d9290665fc8d46 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 4 Jan 2021 03:32:07 -0400 Subject: [PATCH] live-reload.sh: app handles config/theme reloading --- live-reload.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/live-reload.sh b/live-reload.sh index c6be9120..96c390b0 100755 --- a/live-reload.sh +++ b/live-reload.sh @@ -17,9 +17,13 @@ make clean qmake mirage.pro CONFIG+=dev && make while true; do - find src mirage.pro -type f | + # app already handles reloading config and theme files + find src mirage.pro \ + -type f -not -path 'src/themes/*' -not -path 'src/config/*' | + # -name affects the first part of the WM_CLASS returned by xprop on Linux entr -cdnr sh -c \ "qmake mirage.pro CONFIG+=dev && make && ./mirage -name dev $*" + sleep 0.2 done