TIL: web app naming, redux
TIL: filenames may not be what you think they are
i use different chrome-based browsers for personal browsing and for work. because i like to have the ability to stick specific web applications into their own environment/containers see)i need to place these apps into distinct places in the file system to ensure portability across laptops. while i don’t necessarily need specific apps to be available on my personal/work laptops i want leaderkey to be consistent and not barf about not finding various paths when i mash keys.
here’s the file-system app to leaderkey mapping:
app | leaderkey: | file-system location |
---|---|---|
YouTube | o-y |
~/Applications/vivaldi-apps/YouTube.app |
discord | o-d |
~/Applications/vivaldi-apps/discord.app |
DevRev | o-r |
~/Applications/chrome-apps/DevRev.app |
Google Chat | o-C |
~/Applications/chrome-apps/Google Chat.app |
note, there’s an oddity here (and hence the TIL), where an application may be
named YouTube 1.app
by one of the browsers upon installing it still shows up
in the finder as YouTube.app
(note, no _1
) this seems like an interesting
oddity, i suspect there’s a very MacOS-specific explanation. noting this for
future self.
the fix seems to be to ensure that there’s a stable and unique filename that can be referenced within leaderkey in order to resolve the trigger. this can be pinned and referenced across hosts.