AhmedAbdulrahman / hammerspoon-automation

My hammerspoon automation scripts 😎πŸ”₯

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hammerspoon Automation

This is my hammerspoon automation commands. The following commands are for window management and common app launching. I will be adding more in the future.

Install hammerspoon

Please refer to this link.

Window arranging commands

Full Screen
Key CombinationScreen Size
option + ctrl + ← Left Small
command + option + ← Left Medium
command + ctrl + ← Left Large
option + ctrl + β†’ Right Small
command + option + β†’ Right Medium
command + ctrl + β†’ Right Large
command + ctrl + space Middle Medium
option + ctrl + space Middle Small
command + option + ctrl + space
option + ctrl + ↑ Top Small
command + option + ↑ Top Medium
command + ctrl + ↑ Top Large
option + ctrl + ↓ Bottom Small
command + option + ↓ Bottom Medium
command + ctrl + ↓ Bottom Large
command + option + space Middle Apple Style

Desktop spaces arranging commands

Key CombinationMovement
command + option + shift + ← Move to left desktop
command + option + shift + β†’ Move to right desktop

Window movement commands

Key CombinationMovement
command + ctrl + shift + ← Move to left screen
command + ctrl + shift + β†’ Move to right screen
command + ctrl + shift + ↑ Move to top screen
command + ctrl + shift + ↓ Move to bottom screen

Quick layout commands

Key CombinationModeApps Opened
command + option + 1 Coding Mode TextMate / Terminal / Safari
command + option + 2 iOS Development Mode Xcode / Safari
command + option + 3 Communication Mode Slack / Mail / Safari / Finder
command + option + 4 Search Mode Safari / Notion
command + option + 5 Research Mode Terminal / Safari / Notion / Mendeley Desktop
command + option + 6 Thesis Writing Mode TextMate / Terminal / Safari / Mendeley Desktop
command + option + 7 Entertainment Mode Safari

Quick launch commands

Key CombinationApplication
command + option + u Mail
command + option + i Todoist
command + option + o Calender
command + option + j Terminal
command + option + p Xcode
command + option + k Safari
command + option + l Finder
command + option + m Music

References

About

My hammerspoon automation scripts 😎πŸ”₯


Languages

Language:Lua 100.0%