On the topic of Optimization

Below the apps I use in a daily basis to make my life easier
Author
Published

June 9, 2023

Microsoft Edge Hammerspoon Code

On the topic of Optimization

Below the apps I use in a daily basis to make my life easier
Author
Published

June 9, 2023

1 Microsoft Edge

Prefer this over Safari because of add-ons. Chrome is the same

I used it to install apps like YouTube or Google Translator so that when I hit a shortcut command, it opens that app. Here it’s an example.

8

2 Hammerspoon

I use this application to create global shortcuts. Donwload App

Uses Lua programming language to assign keybindings to certain actions. Here a sneak peek of what can you do.

--- Open App
function open(name)
    return function()
        hs.application.launchOrFocus(name)
        if name == 'Finder' then
            hs.appfinder.appFromName(name):activate()
        end
    end
end

For complete implementation visit this repo.

The above function can be called to open an app: Google Maps by an i.e. the shortcut: ⌘ + M

--- Binding Keys
hs.hotkey.bind({ "cmd" }, "M", open("Google Maps"))

2.1 Windows Approach

For Windows alternative see the code below:
Code
#MaxHotkeysPerInterval 200
!WheelUp::Volume_Up
!WheelDown::Volume_Down
!MButton::Volume_Mute
<#!e::
Run, %WINDIR%\explorer.exe
return
!q::Send !{F4}
return
<#!x::
Run, msedge.exe
return
!y::
Run, C:\Users\datoapnta\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\YouTube.lnk
return

3 Honourable Mentions

The apps above can do the same, but I like the UX interface.

App Description
BetterTouchTool Enables trackpad new gestures shortcuts
AutoHotkey Same as Hammerspoon but for Windows
Tiles Windows manager (allows keybindings)