function makeBrowserOfBreakTime () local screen = require" hs. ![]() Using a transparent image to make the page translucent is also not bad. Then, we can create a page covering the whole screen with hs.webview. Obj.Timer:start() Code language: PHP ( php ) To implement this, we need to periodically use a page or image to cover the whole screen to make the guys in front of the PC take a rest.įirstly, we can quickly start a timer with hs.timer: obj.Timer = hs.timer. We can also create spoons with the API, such as BreakTime. It is pretty easy, right? Only several hotkey bindings to functionality are enough. Hs.hotkey.bind(, "/", "Window Undo", function () spoon.WinWin:undo () end) end Code language: PHP ( php ) Supporting symbol characters in the message of Hammerspoon is quite helpful. ![]() Check whether WinWin is loaded and bind hotkeys to different directions. We can quickly implement this with the WinWin spoon We can customize with the official spoons, such as windows manipulation. Under the situation of no experience in Lua, I quickly finished the customizing based on the official documentation. The users only need a little knowledge of Lua before customizing with Hammerspoon. I can say this is really a Swiss Army Knife on macOS.Īctually, there are some similar tools, but Hammerspoon finds the best balance between usage simplicity and functionality complexity. So I tried to find a way to minimize the number of tools I relied on, and I found Hammerspoon. This didn’t bother me much until I changed my Macbook Pro thrice in half a year. I have to look for an alternative because sometimes one is no longer free of charge, or sometimes one no longer supports the latest OS. One non-exhaustive list of my favorite toolsīesides improving my experience in using a computer, these tools also cause a few inconveniences, especially when I need to reinstall the OS and set up a new laptop. Open a terminal with the current folder path. It can show you the list of the selected application’s hotkeys. The official site of the Oxford dictionary. Timely covers your screen to make you have a rest. ![]() It can periodically and automatically set a beautiful sightseeing image as your wallpaper. If the screen is big enough, you may put the documentation on the left and IDE on the right. Here is a non-exhaustive list: AppĬan easily attach the windows to the sides or corners of the screen. Such as my laptop, there are a bunch of tools that improve my experience using a computer. You may have to run the program as Administrator in order for it to work with certain programs. Auto Key Clicker is a small program that I wrote in my spare time, which sends specified text and/or mouse clicks at a designated rate. I may believe that most computers contain unique customizations, which may be why most people hate reinstalling the operating systems or setting up a new computer. Sends keystrokes and mouse clicks at the desired rate.
0 Comments
Leave a Reply. |