Hacker News new | past | comments | ask | show | jobs | submit login

Yeah Hammerspoon is great. I've written scripts to rearrange things correctly when I plug/unplug my laptop into external monitors.



If it is not a hassle, could you please share some of these scripts? I always find rearranging apps/windows (I use multiple desktops) after a reboot quit painful.


You'll be disappointed because my use case is pretty simple - move the dock, remaximize all windows on the main screen and move chrome to my secondary screen.

https://github.com/jemmyw/hammerspoon/blob/main/init.lua




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: