I'll be that guy on this thread that points out Hammerspoon. It's an OS X automation tool that replaces pretty much every OS X 'tweak' style application out there. http://www.hammerspoon.org/go/#simplemenubar I think it's the best of these type of projects, and would love to see more people using it / developing and sharing scripts.
AnyBar: OS X menubar status indicator
11–20 of 64 posts
Re: AnyBar: OS X menubar status indicator
#12Re: AnyBar: OS X menubar status indicator
#13I'll be that guy on this thread that points out Hammerspoon. It's an OS X automation tool that replaces pretty much every OS X 'tweak' style application out there. http://www.hammerspoon.org/go/#simplemenubar I think it's the best of these type of projects, and would love to see more people using it / developing and sharing scripts.
Care to share your implementation of your favorite feature? I'm finding it hard to picture what the workflow/result will be like.
Re: AnyBar: OS X menubar status indicator
#14I'll be that guy on this thread that points out Hammerspoon. It's an OS X automation tool that replaces pretty much every OS X 'tweak' style application out there. http://www.hammerspoon.org/go/#simplemenubar I think it's the best of these type of projects, and would love to see more people using it / developing and sharing scripts.
Care to share your implementation of your favorite feature? I'm finding it hard to picture what the workflow/result will be like.
function muteSpotifyOnAd()
if (hs.spotify.isRunning()) then
if (hs.spotify.getCurrentTrack():lower() == 'spotify') then
hs.spotify.setVolume(0)
else
hs.spotify.setVolume(100)
end
end
end
hs.timer.doEvery(10, muteSpotifyOnAd)Re: AnyBar: OS X menubar status indicator
#15Earlier quoted context omitted.
Care to share your implementation of your favorite feature? I'm finding it hard to picture what the workflow/result will be like.
Well for one I do use the Caffeine feature that is shown in the section of the Getting Started guide I linked to. That replaced the actual Caffeine app. I have a timer running reminding me to take breaks every so often, that replaced Time Out. I have it auto-detect when I plug into my keyboard at home, and when I do it turns on my bluetooth to pair with my mouse, when I unplug, it turns off the bluetooth. This preven…
iTerm2's hotkey is pretty terrible in my opinion. I've bound this function to make it work for me:
function iTermHotkeyHandler()
local iterm = hs.application.get('iTerm2')
if (iterm) then
local window = iterm:mainWindow()
if not window then
if iterm:selectMenuItem('New Window') then
window = iterm:mainWindow()
end
return
end
if iterm:isFrontmost() then
iterm:hide()
else
window:focus()
end
end
end
hs.hotkey.bind('cmd', 'space', iTermHotkeyHandler)
*me: I really should put these in some gist somewhere.Re: AnyBar: OS X menubar status indicator
#16Earlier quoted context omitted.
Well for one I do use the Caffeine feature that is shown in the section of the Getting Started guide I linked to. That replaced the actual Caffeine app. I have a timer running reminding me to take breaks every so often, that replaced Time Out. I have it auto-detect when I plug into my keyboard at home, and when I do it turns on my bluetooth to pair with my mouse, when I unplug, it turns off the bluetooth. This preven…
> bound to some custom hot keys to move/resize my windows around my external monitors iTerm2's hotkey is pretty terrible in my opinion. I've bound this function to make it work for me: function iTermHotkeyHandler() local iterm = hs.application.get('iTerm2') if (iterm) then local window = iterm:mainWindow() if not window then if iterm:selectMenuItem('New Window') then window = iterm:mainWindow() end return end if iter…
Re: AnyBar: OS X menubar status indicator
#17I'll be that guy on this thread that points out Hammerspoon. It's an OS X automation tool that replaces pretty much every OS X 'tweak' style application out there. http://www.hammerspoon.org/go/#simplemenubar I think it's the best of these type of projects, and would love to see more people using it / developing and sharing scripts.
Re: AnyBar: OS X menubar status indicator
#18Earlier quoted context omitted.
Care to share your implementation of your favorite feature? I'm finding it hard to picture what the workflow/result will be like.
If one likes being cheap, it's fun to mute Spotify if there's an Ad. Yeah... function muteSpotifyOnAd() if (hs.spotify.isRunning()) then if (hs.spotify.getCurrentTrack():lower() == 'spotify') then hs.spotify.setVolume(0) else hs.spotify.setVolume(100) end end end hs.timer.doEvery(10, muteSpotifyOnAd)
Re: AnyBar: OS X menubar status indicator
#19Earlier quoted context omitted.
> bound to some custom hot keys to move/resize my windows around my external monitors iTerm2's hotkey is pretty terrible in my opinion. I've bound this function to make it work for me: function iTermHotkeyHandler() local iterm = hs.application.get('iTerm2') if (iterm) then local window = iterm:mainWindow() if not window then if iterm:selectMenuItem('New Window') then window = iterm:mainWindow() end return end if iter…
What don't you like about iTerm's show/hide function?
Re: AnyBar: OS X menubar status indicator
#20Just now quickly whipped it together. Needs improvement(error handling and asynchronous downloading) and packages.
HN submission: https://news.ycombinator.com/item?id=13051347