Skip to content

Commit

Permalink
also configure window rules on PWA apps
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed Nov 30, 2023
1 parent d91581f commit 1ee7b2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyprland/plugins/scratchpads.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 1ee7b2a

Please sign in to comment.