Skip to content

Latest commit

 

History

History
98 lines (82 loc) · 3.33 KB

TODO.md

File metadata and controls

98 lines (82 loc) · 3.33 KB

TODO

Updated: 19-04-24

Lua / Meta

Error Catching

    -- https://www.lua.org/pil/8.4.html
    -- returns false when normally HS will crash
        function test()
            if zzz == nil then
                error()
            end
            print(zzz .. "hi")
        end

        pcall(test)

Next

  • BEFORE ANYTHING ELSE:
    • Redo Contexts.spoon from scratch using hs.watchable (WIP)
    • Use hs.watchable for Context spoon
    • Rewrite Context
    • Rewrite PaywallBuster
      • Use outline.com with shortened URLs
    • use try catch? https://github.com/matthewfallshaw/hammerspoon-config/blob/e038e30f649383cd9f6e3711c52ed1ac2d826f78/utilities/try_catch.lua
    • Write docs for spoons
      • Fenestra
      • AfterDark
      • [~] Context
      • PaywallBuster
      • Zzz
      • Resolute
      • CTRLESC
      • SafariKeys
    • Set spoon hotkeys properly (like Fenestra does?)
      • Resolute
      • Fenestra
      • Zzz
      • SafariKeys
      • PaywallBuster
    • Improve config reload time
    • REMOVE ANY UTILITIES OR FUNCTIONS SPECIFIC TO MY CONFIG
    • [~] test spoons on empty config
    • remove any styled text as it may cause mem leaks
    • SUBMIT THEM
    • use key/value store for configurable variables/defaults
      • screen resolutions
      • Drives to eject
      • wifi ssid

Changes/Fixes

  • gen proper docs for my spoons (PaywallBuster, SafariKeys, SystemContexts, Zzz)
  • Fuck, just found hs.fnutils, can replace a lot of my janky custom methods

Future

Misc

Finished

  • migrate remaining plugins to spoons
  • implement better reloading? may be a spoon already for this
  • finish implementing Resolute
  • finish inc/dec in Zzz
  • proper window management (like this)
  • remove init-plugins and apw-lib
  • SPEED UP RELOAD

Discontinued

  • [A] update Zzz so it can do the opposite (keep computer awake for a certain amount of time)
  • [A] Use menubar hotkey options for simple ideas? (not possible?)
  • [A] Make them proper git submodules / EDIT: git submodules suck
  • [A] quickreference notes chooser (with things like server details, etc)
  • [A] Safari: move all tabs after current tab to new window
  • [A] current weather? Don't really care about this
  • [A] Create menubar spoon that controls config of other spoons