home.social

#hammerspoon — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hammerspoon, aggregated by home.social.

  1. I use a Hammerspoon hotkey to save clipboard images as files because my AI sandbox can not see the clipboard. It works, but feels hacky. Anyone have a better way?

    eshlox.net/clipboard-image-to-

  2. Okay, fine I give up on my search for a macOS (preferably status-bar) GUI for #restic/ #rustic.

    Everything out there seems to be tailored for the WebUI fanatics.

    There's ResticScheduler which is great but missing a few crucial features like "abort if pre-run-script fails" as well as the ability to manage multiple backup tasks.

    So I guess I'll have to bite the bullet and write my own launchd jobs and some #HammerSpoon or similar magic to monitor those jobs.

    (P.S. I'm currently a happy #Arq7 user but the scanning phase for my local and cloud backup has become excruciatingly slow over the past year so I'm trying to once again "find a better thing")

    #healsCodes #healsRants

  3. Okay, fine I give up on my search for a macOS (preferably status-bar) GUI for #restic/ #rustic.

    Everything out there seems to be tailored for the WebUI fanatics.

    There's ResticScheduler which is great but missing a few crucial features like "abort if pre-run-script fails" as well as the ability to manage multiple backup tasks.

    So I guess I'll have to bite the bullet and write my own launchd jobs and some #HammerSpoon or similar magic to monitor those jobs.

    (P.S. I'm currently a happy #Arq7 user but the scanning phase for my local and cloud backup has become excruciatingly slow over the past year so I'm trying to once again "find a better thing")

    #healsCodes #healsRants

  4. Okay, fine I give up on my search for a macOS (preferably status-bar) GUI for #restic/ #rustic.

    Everything out there seems to be tailored for the WebUI fanatics.

    There's ResticScheduler which is great but missing a few crucial features like "abort if pre-run-script fails" as well as the ability to manage multiple backup tasks.

    So I guess I'll have to bite the bullet and write my own launchd jobs and some #HammerSpoon or similar magic to monitor those jobs.

    (P.S. I'm currently a happy #Arq7 user but the scanning phase for my local and cloud backup has become excruciatingly slow over the past year so I'm trying to once again "find a better thing")

    #healsCodes #healsRants

  5. Okay, fine I give up on my search for a macOS (preferably status-bar) GUI for #restic/ #rustic.

    Everything out there seems to be tailored for the WebUI fanatics.

    There's ResticScheduler which is great but missing a few crucial features like "abort if pre-run-script fails" as well as the ability to manage multiple backup tasks.

    So I guess I'll have to bite the bullet and write my own launchd jobs and some #HammerSpoon or similar magic to monitor those jobs.

    (P.S. I'm currently a happy #Arq7 user but the scanning phase for my local and cloud backup has become excruciatingly slow over the past year so I'm trying to once again "find a better thing")

    #healsCodes #healsRants

  6. Apple Reminders - always so close, but never quite there - like cold fusion. I've written a bunch of custom shortcuts in #hammerspoon to make it better UX-wise, but mac-app just lacks. E.g, it is not possible to batch-edit dates, why? Works on iOS. But sync is good, kanban is sooo good, collaboration works, it is well-integrated. The workflow it forces on you is simplistic, but it is not necessarily a bad thing. Could be there in a year or two.

  7. are you a Mac user with #hammerspoon and as annoyed as me that accidentally fat fingering cmd+m minimizes your windows? At least on my system the usual suggestions don't work (rebind minimize, rebind cmd+m). But this finally did! (hammerspoon config):

    function nop()
    end

    hs.hotkey.bind("cmd", "m", nop)

  8. Ever since I saw the Zoom plugin for Stream Deck had been taken away, I was planning to write a script to handle similar needs. But just now realizing I really need to make it work with Zoom, Teams, Meet, and Slack Huddles. Ugh.

  9. Apple Reminders went to a nice place, actually. Well integrated, nice mobile client, seamless sync. Has no forecast like #omnifocus, but the integration in Calendars is top-notch. I had to make some custom shortcuts with #hammerspoon, but for simpler GTD-like worflows it is hard to beat... And I can share tasks with my wife, it makes it up for every shortcoming.

  10. @al3x @czottmann Karabiner Elements can map single keys, even left or right modifier keys.

    Correct, I use left-Command unmapped for all macOS shortcuts. Even without mapping right-Command I never used that for macOS shortcuts. Maybe, because by far my most used shortcuts are X/C/V and they are all on the left half of the keyboard.

    Hyper is what you define it, and what your downstream applications can recognize. I use Ctrl-Alt-Shift to trigger #Hammerspoon keyboard events.

  11. @al3x what could work with #hammerspoon: tell hammerspoon the target space to move windows to, either through a keyboard shortcut or through a menu bar item. Then have hammerspoon listen to modifyer-mouseklick events and move windows to the target space.

    Just thinking...

  12. CW: MacOS keyboard mapping nerding

    @22 you needed both to achieve that? I thought they are competitors.

    (I’m new to #hammerspoon and trying to wrap my head around)

  13. Actually, it's even weirder. The state is per editor. If you split first vertically then horizontally, you'll have three editor panes -- one on the left, and two stacked on the right.

    If you click the one on the left and ⌃⌘T, it'll split vertically.
    If you instead click in either of the two on the right ⌃⌘T, they'll split horizontally.

    🤯

    I was trying to map the window splits to vim compatible (⌃W⌃V, ⌃W⌃S) hotkeys using #hammerspoon. But it looks like there's no way.

  14. @al3x i am sorry I was not clear. I actually do not use Amethyst. I have built my own tiling window manager on top of #Hammerspoon.

    I indeed use Two Pane and Tall. I do not like BSP. That is also the reason #yabai did not click for me.

  15. @dvicente #hammerspoon missing from that must-have on #macos apps list. It’s on mine anyway, as is #emacs and #iterm

  16. Hello #Xcode #Vim Mode users: I made a proof of concept spoon for #Hammerspoon which can remap keys (for example, making j/k act like gj/gk) depending on the mode you're in: github.com/SilverEzhik/XcodeVi

    If you have some bindings that you really miss, check it out!

  17. @Minionslayer That would be #Hammerspoon and some sounds from a combination of @guilevi and @jakobrosin.
    I have a zip file and readme to explain how to put all the things in-place if that's your interest. As a sound guy, I don't like a machine that doesn't have UI sounds when I'm working.

  18. #hammerspoon works so well, don't know how I'm going to live without it now.

  19. heise+ | macOS anpassen und automatisieren mit Hammerspoon

    Mithilfe de­r Skriptsprache Lua ­können Sie Programm­fenster per ­Tastenkürzel positionieren, dem Mac ein ­dynamisches Menü verpassen und vieles mehr. macOS anpassen und automatisieren mit Hammerspoon