Live data from Hacker News

Hammerspoon

github.com

91–100 of 154 posts

Re: Hammerspoon

#91
post #6

Is paperwm jittery for everyone?

It's really jittery for me and freezes fairly often on my work macbook. I even have a Sol script to restart hammerspoon.

Still wouldn't work without it though (I run Niri at home)

Re: Hammerspoon

#92

Some stuff I've made in Hammerspoon you can use: - Vim mode everywhere in macOS: https://github.com/dbalatero/VimMode.spoon - Modifier keys + click/drag to resize or move windows: https://github.com/dbalatero/SkyRocket.spoon - Show an overlay helper of all your keybinds when you hold modifier keys down: https://github.com/dbalatero/HyperKey.spoon And my huge pile of random scripts/configs: https://github.com/dbalater…

I like kindaVim for vim mode everywhere in macOS

Re: Hammerspoon

#93
I really like the Label feature. I use it to put labels on the screen in my different aerospace workspaces so I can keep track of which project I’m working on. With agents working in parallel this is really useful.

Re: Hammerspoon

#94
post #54
post #24

Earlier quoted context omitted.

Well, a tiling window and workspace manager. But as I am typing this, I’m realizing they hammerspoon can probably do some of the window placement, but maybe not handling workspaces and global state. I was hoping I could be lazy and ask, and a not-lazy person could give a ready made answer :)

If workspace management is an another term for managing desktop/spaces, then you are going to be hard pressed to find anything that is not a brittle hack. I am writing a window manager bundled with other knick-knacks for myself. I have a "solution" for moving windows between spaces, but in the most vile way possible. The only way I have managed to move windows between spaces is by, and this is no joke, recording the…

Aerospace works really well.

Re: Hammerspoon

#95
post #56
post #54

Earlier quoted context omitted.

If workspace management is an another term for managing desktop/spaces, then you are going to be hard pressed to find anything that is not a brittle hack. I am writing a window manager bundled with other knick-knacks for myself. I have a "solution" for moving windows between spaces, but in the most vile way possible. The only way I have managed to move windows between spaces is by, and this is no joke, recording the…

Sadly, I think you’re right. Aerospace is pretty cool, i recommend it, but I have not really worked out how full screen interacts with spaces. It’s a mess with and without aerospace.

I just never run anything fullscreen other than if I’m watching a video.

Re: Hammerspoon

#96

I despair at not being able to easily send a window to another space with a keyboard shortcut on macOS. Yabai supports this perfectly (especially combined with instant, animation-free space switching) but it requires disabling system integrity protection--which is a non-starter on a work computer. Aerospace solves it with their own spaces implementation. I was able to put together a hammerspoon script that does the j…

Aerospace is the least bad option

Re: Hammerspoon

#97
post #17

Earlier quoted context omitted.

What do you mean? Like muting the entire application so no sound comes from Teams or muting yourself while on a call? For the latter, I thought 'Option + Space' worked (or used to)?

Cmd+Shift+m mutes/un-mutes your Mic when focus is on teams window. I think GP is asking about a global (from any application) mute/unmute teams Mic. I have wished for one for ever.

Hmm, I don't have teams installed on my Mac, so I cannot be of much help, but I do have a potential solution for you.

Is completely muting your mic sufficient? If so, I have an Applescript solution that seems to work if you want it. I tested it in VoiceMemos and it worked even if I was in a different app in a different space. You can bind the script to a global hotkey very easily via many different apps like Alfred, Karabiner, etc..

AppleScript: https://pastebin.com/xHE1uQym

Re: Hammerspoon

#98
One of the reasons I left macos was that automation via Automator and Applescript was inconsistent and unsupported in many contexts. Well that and the locking down of app distribution and sandboxing. However, the positive reception to Hammerspoon is making me consider trying it again.

Re: Hammerspoon

#99
Coming from windows to macos, I(i think i used perplexity :P) created a spoon for switching between open windows with 4 finger swipe[0]. Swiping left/right switches between windows, swiping down minimizes all visible windows, swiping up restores them(one by one). Created this repo to backup my config with an llm documenting it.

It uses a swipe gesture detection spoon I found after searching for something similar[1].

[0] https://github.com/abhikul0/hammerspoonConfig

[1] https://github.com/mogenson/Swipe.spoon

Re: Hammerspoon

#100
post #68

Hammerspoon maintainer here - I'm enjoying reading all the comments, and hoping that everyone isn't going to be annoyed that I'm mostly working on a v2 atm, which switches from Lua to JavaScript :D

I love Hammerspoon!! here's my one handed shortcuts for window control across multiple monitors: https://gist.github.com/pazimzadeh/b1c70f5f205d0b63264e7c021...

What will v2 enable??

Post reply on HN