This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1. Install https://github.com/Hammerspoon/hammerspoon | |
-- 2. Change var "vpnProfileName" as your config named in FortiClient | |
-- 3. Put this config to ~/.hammerspoon/init.lua | |
-- 4. Reload Hammerspoon config | |
local vpnProfileName = "Split" | |
local hotkey = {"cmd", "alt"} | |
local key = "f" |