tiny code simplification
This commit is contained in:
parent
ca11f373d5
commit
d48a3f4154
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ class Extension(Plugin):
|
||||||
def exposed_clients(self):
|
def exposed_clients(self):
|
||||||
if self.config.get("include_special", False):
|
if self.config.get("include_special", False):
|
||||||
return self.exposed
|
return self.exposed
|
||||||
else:
|
return [c for c in self.exposed if c["workspace"]["id"] > 0]
|
||||||
return [c for c in self.exposed if c["workspace"]["id"] > 0]
|
|
||||||
|
|
||||||
async def run_expose(self):
|
async def run_expose(self):
|
||||||
"""Expose every client on the active workspace. If expose is active restores everything and move to the focused window"""
|
"""Expose every client on the active workspace. If expose is active restores everything and move to the focused window"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue