#!/usr/bin/env bashimport Foundation
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
| -- -------------------------------------------------------------------------- | |
| -- This Hammerspoon Hyper-Key configuration inspired by [Kalis](https://kalis.me/setup-hyper-key-hammerspoon-macos/) and [`ttscoff`](https://gist.github.com/ttscoff/cce98a711b5476166792d5e6f1ac5907) | |
| -- Thanks a lot! ♥︎ | |
| -- Hotkeys included in the configuration: | |
| -- - Hyperkeys | |
| -- - Current Time Popup | |
| -- -------------------------------------------------------------------------- | |
| -- | |
| -- ✏️ Fancy configuration reloading ----------------------------------------- |
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
| # Terminal output control (http://www.termsys.demon.co.uk/vtansi.htm) | |
| TC='\e[' | |
| CLR_LINE_START="${TC}1K" | |
| CLR_LINE_END="${TC}K" | |
| CLR_LINE="${TC}2K" | |
| # Hope no terminal is greater than 1k columns | |
| RESET_LINE="${CLR_LINE}${TC}1000D" |