Skip to content

Commit

Permalink
umu_run: list all files in /tmp/.X11-unix
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Aug 13, 2024
1 parent 53f683d commit dab989f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,7 @@ def monitor_windows(

def discover_gamescope_displays() -> list[display.Display]:
"""Find all gamescope displays."""
sockets: list[Path] = [
path for path in Path("/tmp/.X11-unix").glob("*") if path.is_socket()
]
sockets: list[Path] = list(Path("/tmp/.X11-unix").glob("*"))
displays: list[display.Display] = []

for sock in sockets:
Expand Down

0 comments on commit dab989f

Please sign in to comment.