Re:AnyBar: OS X menubar status indicator
by NickBusey on Sunday November 27, 2016 @02:20PM
(#13050853)
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 prevents the annoying issue of my mouse constantly connecting/disconnecting when I'm using my computer in a different room. I have it watching wifi events and automatically setting my volume to 0 when I leave my home wifi network, to prevent any accidental sound blares when I open my laptop in a meeting. Finally I have it bound to some custom hot keys to move/resize my windows around my external monitors. That function replaces the zillion window management apps out there.
[ Parent
| on HN ]
Re:AnyBar: OS X menubar status indicator
by prashnts on Sunday November 27, 2016 @02:32PM
(#13050933)
> 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 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
by paublyrne on Sunday November 27, 2016 @03:00PM
(#13051108)
What don't you like about iTerm's show/hide function?
Re:AnyBar: OS X menubar status indicator
by prashnts on Sunday November 27, 2016 @03:25PM
(#13051296)
Hotkey windows do not show up in cmd+tab switcher. It's annoying if you activate the hotkey with cmd+space, press cmd+tab to go to previous window, and instinctively press cmd+tab hoping to get back to the terminal window. But that doesn't happen.
Re:AnyBar: OS X menubar status indicator
by paublyrne on Sunday November 27, 2016 @03:42PM
(#13051404)
OK I understand what you mean. I've never found that to be a problem for me but I'm glad you were able to come up with a solution.