But warm, soggy, 10-minute ramen? Not cool. Make perfect ramen every timeĪ hot, 3-minute ramen is good. Long as I’m in our ofice network to remind me to put in worklogs. Next thing to automate is opening Tempo Timesheets in Jira every 2 hours as A second hotkey to reverse the direction of the focus-shift would be handyįocusScreen(hs.window.focusedWindow():screen():next()) One hotkey should just suffice for dual-display setups as it will naturally So myįirst challenge was to make something in Hammerspoon that would allow me toĬycle through the displays with consistency. Spaces and the order in which I have accessed them that results in a state whereĬommand (⌘)-Tab or a three-finger swipe doesn’t bring me where I want to go. There are certain combinations of circumstances on how applications are laid out across all My setup works really well for me most of the time, but Living in their own Spaces on the primary display. I also have other full-screen applications sending -v to paste), see hs.eventtap. occupying theĮntirety of a secondary screen across multiple Spaces. Generates and emits keystroke events for the supplied text: Parameters: text - A string containing the text to be typed application - An optional hs.application object to send the keystrokes to Returns: None Notes: If you want to send a single keystroke with keyboard modifiers (e.g. Primary display, with the exception of a couple of full-screen terminal windows running tmux, vim, a zsh shell, monitoring tools, logs, etc. I have a dual-display setup at work and I have all my GUI applications running on the This config file only includes Hyperkey functionality. Paste the following code inside this file. Open up the file /.config/karabiner/karabiner.json in your text editor. One such annoyance pertains to switching focus between multiple displays: Open up your terminal and type brew cask install karabiner-elements hammerspoon Open up Hammerspoon and enable accessibility. I wanted to start small, so I picked a little annoyance I find myself battling with daily and aimed to solve it. Open a web-page as soon as I connect to a particular WiFi networkģ. But there are things that you can’t do with Automator alone.Ģ. OS X already comes with Automator, which allows you to do automation on Its not exhaustive, but its good enough for not-so-complex However, unlike Javascript and Ruby, Lua does not have a built-inįunctional library to do things like map, filter, reduce,Įtc., but Hammerspoon comes with hs.fnutils which provides a bunch ofįunctional utilities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |