- OVERALL: THIS IS NOT STABLE
- Feel free to grab ideas / copy code, but there's a lot of cruft
- things change all the time
- things may break
- init.lua -> main init
- apw-lib.lua, init-plugins.lua ->
- before spoons existed, I copied the plugin system from oh-my-hammerspoon.
- these files largely handle that
- I also now use spoons
- spoons -> spoons i've written (SafariKeys, SystemContexts, PaywallBuster) and some I didn't
- mostly a work in progress, probably stay away from using any of these
- SafariKeys -> Hotkeys for common tasks I want to do in safari
- Change user agent
- Merge all windows
- Pull tab to new window
- mail current page to self
- SystemContexts -> not finished
- PaywallBuster -> a modal plugin that provides a variety of options for skirting paywalls
- Currently takes the frontmost URL in safari
- Uses:
- Facebook outlinking
- Google Cache
- Wayback machine
- Uses:
- Currently takes the frontmost URL in safari
- plugins -> aforementioned custom plugins for custom plugin system (deprecated)
- Resizes windows (fullscreen/halfscreen/75/25)
- Throws windows between monitors if there are two
- Can set resolution using modal hotkey
- Currently, possible resolutions are passed in manually from table of tables
- Creates a menubar item that displays current resolution width and when clicked, toggles between two most common for me to use
- Hotkey bound to mail current Safari url to my email
- I use it for reading stuff later
- Pulls current tab from safari and creates a new window with it
- Toggles user agent for safari for iOS dev
- Stolen from hammerspoon intro
- Modified to switch between default and iPad
-
This is cool: https://github.com/ashfinal/awesome-hammerspoon#search-something---g
-
Tests?
-
Laptop resolution changing
-
Battery alerts on laptop kind of see burnrate plugin
-
Change settings based on location (wifi ssid?)
-
Better display of resolution options (ala hs.hints)
- Don't really use this functionality anymore, so can probably safely delete this item
-
grab active url from safari, send to clipboard?
- Done-ish. Currently mails to self.
- site-specific search from current url
-
move other modules from init to plugins
- window management
- safari stuff
- application management?
-
KIRBY SHRUG ¯_(ツ)_/¯
-
Bind alert styles in a function so i don't have to keep repeating things
-
Combine multiple functions into one menubar app
- Display res /
-
Make specific system functions into modal hotkeys
- Some ideas:
- DND on/off
- Bluetooth on/off
- Bluetooth connect specific headphones
- VPN on/off
- Nightshift/flux on/off
- Sleep timer (possibly need to break this out to own module)
- Some ideas:
-
Make a display (similar to hs.hints) for these system hotkeys
- Or maybe something similar to cheatsheets?