A simple menubar utility for opening/ejecting/managing removable volumes that looks good in OSX Dark mode:
Conveniently hides itself when no volumes are mounted and reappears when one is mounted:
Get it here - volumes.lua
Save as volumes.lua
in ~/.hammerspoon/
and put volumes = require "volumes"
in your init.lua
I use lua-stdlib (installed with luarocks-5.3 install stdlib
) for the keys function but you can just as easily have your own:
local keys = function(t)
local keys={}
for k, v in pairs(t) do
table.insert(keys, k)
end
table.sort(keys)
return keys
end