Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/Caffeine.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ end
--- * The Caffeine object
function obj:start()
if self.menuBarItem then self:stop() end
self.menuBarItem = hs.menubar.new()
self.menuBarItem = hs.menubar.new(true, "Caffeine")
self.menuBarItem:setClickCallback(self.clicked)
if (self.hotkeyToggle) then
self.hotkeyToggle:enable()
Expand Down
2 changes: 1 addition & 1 deletion Source/Cherry.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ end


function obj:init()
self.menu = hs.menubar.new(self.alwaysShow)
self.menu = hs.menubar.new(self.alwaysShow, "Cherry")
self:reset()
end

Expand Down
2 changes: 1 addition & 1 deletion Source/ClipboardTool.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ function obj:start()
self.timer = hs.timer.new(self.frequency, hs.fnutils.partial(self.checkAndStorePasteboard, self))
self.timer:start()
if self.show_in_menubar then
self.menubaritem = hs.menubar.new()
self.menubaritem = hs.menubar.new(true, "ClipboardTool")
:setTitle(obj.menubar_title)
:setClickCallback(hs.fnutils.partial(self.toggleClipboard, self))
end
Expand Down
2 changes: 1 addition & 1 deletion Source/ColorPicker.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function choosetable()
end

function obj:start()
self.choosermenu = hs.menubar.new(false):setMenu(choosetable)
self.choosermenu = hs.menubar.new(false, "ColorPicker"):setMenu(choosetable)
if self.show_in_menubar then
self.choosermenu:setTitle(self.menubar_title):returnToMenuBar()
end
Expand Down
2 changes: 1 addition & 1 deletion Source/CountDown.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ end

------- menuBar bar related functions
function obj:menuBar_init()
obj.menuBar = hs.menubar.new(obj.menuBarAlwaysShow)
obj.menuBar = hs.menubar.new(obj.menuBarAlwaysShow, "CountDown")
obj:menuBar_reset()
end

Expand Down
2 changes: 1 addition & 1 deletion Source/EjectMenu.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function obj:start()
):start()
end
if self.show_in_menubar then
self.menubar = hs.menubar.new():setTitle("⏏"):
self.menubar = hs.menubar.new(true, "EjectMenu"):setTitle("⏏"):
setMenu(function (mods) return self:initEjectMenu(mods) end)
self.flags_watcher = hs.eventtap.new(
{hs.eventtap.event.types.flagsChanged},
Expand Down
2 changes: 1 addition & 1 deletion Source/MicMute.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ end

function obj:init()
obj.time_since_mute = 0
obj.mute_menu = hs.menubar.new()
obj.mute_menu = hs.menubar.new(true, "MicMute")
obj.mute_menu:setClickCallback(function()
obj:toggleMicMute()
end)
Expand Down
2 changes: 1 addition & 1 deletion Source/PushToTalk.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function obj:start()
obj.eventTapWatcher = hs.eventtap.new({hs.eventtap.event.types.flagsChanged}, eventTapWatcher)
obj.eventTapWatcher:start()

obj.menubar = hs.menubar.new()
obj.menubar = hs.menubar.new(true, "PushToTalk")
obj.menubar:setMenu(obj.menutable)
if obj.detect_on_start then obj.state = initialState() end
obj.setState(obj.state)
Expand Down
2 changes: 1 addition & 1 deletion Source/Shade.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ obj.shadeIsOn = nil
--- * None
function obj:init()
--create icon on the menu bar and set flag to 'false'
self.shadeMenuIcon = hs.menubar.new()
self.shadeMenuIcon = hs.menubar.new(true, "Shade")
self.shadeMenuIcon:setIcon(obj.iconOff)
-- self.shadeMenuIcon:setClickCallback(obj.toggleShade)
self.shadeMenuIcon:setTooltip('Shade')
Expand Down
2 changes: 1 addition & 1 deletion Source/SpeedMenu.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ obj.homepage = "https://github.com/Hammerspoon/Spoons"
obj.license = "MIT - https://opensource.org/licenses/MIT"

function obj:init()
self.menubar = hs.menubar.new(false)
self.menubar = hs.menubar.new(false, "SpeedMenu")
end

function obj:start()
Expand Down
2 changes: 1 addition & 1 deletion Source/TextClipboardHistory.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function obj:start()
self.timer = hs.timer.new(self.frequency, hs.fnutils.partial(self.checkAndStorePasteboard, self))
self.timer:start()
if self.show_in_menubar then
self.menubaritem = hs.menubar.new()
self.menubaritem = hs.menubar.new(true, "TextClipboardHistory")
:setTitle(obj.menubar_title)
:setClickCallback(hs.fnutils.partial(self.toggleClipboard, self))
end
Expand Down
2 changes: 1 addition & 1 deletion Source/TimeMachineProgress.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function obj:refresh()

-- Initialize menubar item if needed
if (not self.menuBarItem) then
self.menuBarItem = hs.menubar.new()
self.menuBarItem = hs.menubar.new(true, "TimeMachineProgress")
self.menuBarItem:setIcon(self.backupIcon, false)
self.menuBarItem:setMenu(self._returnMenu)
end
Expand Down
2 changes: 1 addition & 1 deletion Source/TurboBoost.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ end
--- * The TurboBoost object
function obj:start()
if self.menuBarItem or self.wakeupWatcher then self:stop() end
self.menuBarItem = hs.menubar.new()
self.menuBarItem = hs.menubar.new(true, "TurboBoost")
self.menuBarItem:setClickCallback(self.clicked)
self:setDisplay(self:status())
self.wakeupWatcher = hs.caffeinate.watcher.new(self.wokeUp):start()
Expand Down
2 changes: 1 addition & 1 deletion Source/ZeroOffset.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
--- * The ZeroOffset object
function obj:start()
if self.menuBarItem then self:stop() end
self.menuBarItem = self.hs.menubar.new()
self.menuBarItem = self.hs.menubar.new(true, "ZeroOffset")
self.menuBarItem:setClickCallback(function() self:clicked() end)

if self.hotKeyToggle then self.hotKeyToggle:enable() end
Expand Down
Binary file modified Spoons/Caffeine.spoon.zip
Binary file not shown.
Binary file modified Spoons/Cherry.spoon.zip
Binary file not shown.
Binary file modified Spoons/ClipboardTool.spoon.zip
Binary file not shown.
Binary file modified Spoons/ColorPicker.spoon.zip
Binary file not shown.
Binary file modified Spoons/CountDown.spoon.zip
Binary file not shown.
Binary file modified Spoons/EjectMenu.spoon.zip
Binary file not shown.
Binary file modified Spoons/MicMute.spoon.zip
Binary file not shown.
Binary file modified Spoons/PushToTalk.spoon.zip
Binary file not shown.
Binary file modified Spoons/Shade.spoon.zip
Binary file not shown.
Binary file modified Spoons/SpeedMenu.spoon.zip
Binary file not shown.
Binary file modified Spoons/TextClipboardHistory.spoon.zip
Binary file not shown.
Binary file modified Spoons/TimeMachineProgress.spoon.zip
Binary file not shown.
Binary file modified Spoons/TurboBoost.spoon.zip
Binary file not shown.
Binary file modified Spoons/ZeroOffset.spoon.zip
Binary file not shown.