Created
May 22, 2020 00:00
-
-
Save sujayvadlakonda/b2765d342bd311b2e7fb679a482bde6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hs.window.animationDuration = 0 | |
hs.window.filter.default:subscribe(hs.window.filter.windowFocused, function(window, appName) | |
hs.window.focusedWindow():setFullScreen(true) | |
end) | |
function open(name) | |
return function() | |
hs.window.desktop():focus() | |
hs.application.open(name):activate() | |
end | |
end | |
hs.application.open("CornerCal") | |
hs.hotkey.bind({"alt"}, "C", open("Google Chrome")) | |
hs.hotkey.bind({"alt"}, "T", open("Terminal")) | |
hs.hotkey.bind({"alt"}, "E", open("Emacs")) | |
hs.hotkey.bind({"alt"}, "A", open("Avidemux2.7.app")) | |
hs.hotkey.bind({"alt"}, "S", open("System Preferences")) | |
hs.hotkey.bind({"alt"}, "F", open("Finder")) | |
hs.hotkey.bind({"alt"}, "Q", open("qBittorrent")) | |
--hs.hotkey.bind({"alt"}, "P", open("Canon MX920 Series")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment