mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
darwin.paperwm: fix gotospace
This commit is contained in:
parent
147b54eac1
commit
c5f3572631
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ in {
|
||||||
local button = hs.menubar.new()
|
local button = hs.menubar.new()
|
||||||
button:setTitle(hs.styledtext.new(title, attributes))
|
button:setTitle(hs.styledtext.new(title, attributes))
|
||||||
button:setClickCallback(function()
|
button:setClickCallback(function()
|
||||||
gotoSpace(space)
|
gotoSpace(index)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
table.insert(space_buttons, button)
|
table.insert(space_buttons, button)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue