From 740081d9eecff224fe5aa398000f0dcb72ff89b5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Apr 2025 14:52:15 +0200 Subject: bump --- accounts/gkleen@sif/niri/default.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'accounts/gkleen@sif/niri/default.nix') diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix index b5347d6f..0e25fc95 100644 --- a/accounts/gkleen@sif/niri/default.nix +++ b/accounts/gkleen@sif/niri/default.nix @@ -273,8 +273,6 @@ in { workspaces = list() def focus_workspace(output, workspace): - global workspace_history, history_lock - with history_lock: workspace_history[output] = [workspace] + [ws for ws in workspace_history[output] if ws != workspace] # noqa: E501 print(json.dumps(workspace_history), file=sys.stderr) @@ -299,8 +297,6 @@ in { class RequestHandler(StreamRequestHandler): def handle(self): - global workspace_history, history_lock - with detaching(TextIOWrapper(self.wfile, encoding='utf-8', write_through=True)) as out: # noqa: E501 with history_lock: json.dump(workspace_history, out) -- cgit v1.2.3