From c5f3572631e16ee0ec2c965be5b0a71da4f5c9f1 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 26 Jul 2025 14:45:01 +0300 Subject: [PATCH] darwin.paperwm: fix gotospace --- modules/darwin/paperwm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/darwin/paperwm.nix b/modules/darwin/paperwm.nix index bc0fe9c..f703c3a 100644 --- a/modules/darwin/paperwm.nix +++ b/modules/darwin/paperwm.nix @@ -276,7 +276,7 @@ in { local button = hs.menubar.new() button:setTitle(hs.styledtext.new(title, attributes)) button:setClickCallback(function() - gotoSpace(space) + gotoSpace(index) end) table.insert(space_buttons, button)