diff --git a/pyprland/plugins/scratchpads.py b/pyprland/plugins/scratchpads.py index 4690c9df..a6452265 100644 --- a/pyprland/plugins/scratchpads.py +++ b/pyprland/plugins/scratchpads.py @@ -464,7 +464,6 @@ async def _start_scratch(self, item): "Ensure alive, standard version" uid = item.uid self.log.info("%s is not running, restarting...", uid) - await self._configure_windowrules(item) if uid in self.procs: self.procs[uid].kill() self.scratches.reset(item) @@ -510,7 +509,7 @@ async def ensure_alive(self, uid): Returns true if started """ item = self.scratches.get(name=uid) - + await self._configure_windowrules(item) if item.conf.get("pwa_hack"): return await self._ensure_alive_pwa(item)