automation with HammerSpoon

problem 1

laptop on full volume in public

problem 2

window management

problem 3

copy pasting mutiple texts

problem 4

keeping your mac screen awake

problem n

add your problem

What is Hammerspoon

how it helped

Spoons

Spoons are pre-made plugins for Hammerspoon.

Window Management


        hs.hotkey.bind({"cmd", "alt", "ctrl"}, "M", function()
          local win = hs.window.focusedWindow()
          local f = win:frame()
          local screen = win:screen()
          local max = screen:frame()

          f.x = max.x
          f.y = max.y
          f.w = max.w
          f.h = max.h
          win:setFrame(f)
        end)

demo time

Keep automating

Thank You!