Skip to content

Hammerspoon Spoon to connect, disconnect, or toggle connection to/from a personal hotspot. Optionally kills/opens a list of apps on connect/disconnect respectively.

malob/PersonalHotspot.spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

PersonalHotspot.spoon

A Hammerspoon to connect, disconnect, or toggle connection to/from a personal hotspot. Optionally kills/opens a list of apps on connect/disconnect respectively.

Example configuration (using SpoonInstall.spoon):

spoon.SpoonInstall:andUse(
  "PersonalHotspot",
  {
    config = {
      hotspotName = "John Appleseed’s iPhone",
      appsToKill = {
        "Arq",
        "Arq Agent",
        "Dropbox"
      }
    },
    hotkeys = {
      toggle = { {"cmd", "option", "ctrl"} , "h"}
    }
  }
)

If hotspotName isn't set, the first personal hotspot in the Wi-Fi menu will be selected, and hotspotName will be set to the name of that hotspot.

About

Hammerspoon Spoon to connect, disconnect, or toggle connection to/from a personal hotspot. Optionally kills/opens a list of apps on connect/disconnect respectively.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages