![]() I'll use the twelve hour clock with no zeros and no AM/PM. date '+%H' - 02 (hour, 24 hour clock, no zero)Īll I really want for this is the hour and minute.date '+%I' - 02 (hour, 12 hour clock, with zero).date '+%k' - 2 (hour, 24 hour clock, no zero).date '+%l' - 2 (hour, 12 hour clock, no zero).In fact, we use the same exact process as before, only this time we'll need to pick from the pool of date snippets that relate to the time: With all of that great knowledge that we gleaned from the previous step, adding the time to our desktop should be a cinch. Resize the container and set a refresh rate. I'm keeping things pretty simple so I went with white, 13pt Lucida Grande. In the Properties window, click on the button near the bottom that says "Click here to set font & color" and customize the text to your liking. Once you insert this code, your result should automatically update. %d'Īs you can see, I used the long form weekday format followed by a comma, a space, the short form month, a period, a space and finally the day of the month. Copy and paste the following code into the Command field. Now that we can see how to get all the pieces that we need, we can easily toss them all together into a single script. date '+%Y' - 2012 (year with four digits). ![]() date '+%e' - 1 (day of month without zero).date '+%d' - 01 (day of month with zero).Be careful when using the Log shells and other commands that access system files.See how that works? Here's a larger list that should come in handy. Note: while it isn’t likely, GeekTool can grant access to system-level commands. Until GeekTool is officially no longer supported, we recommend learning your way around a few basic scripts and experimenting with how you can customize your desktop. There are other programs that serve a similar function to GeekTool (like Nerdtool), but they have not yet caught on with the same level of popularity of the community support. We tested GeekTool on the most recent MacOS update and it worked just fine, but Mojave seems to cause interference with certain scripts. Recent MacOS updates have made some of the scripts and commands invalid. While GeekTool still has a strong, niche community, some people are of the opinion the application is on a downhill slide. Once you close out of GeekTool, you can click on any icon on the screen like normal. One of GeekTool’s strengths is that you can place folders and files on the desktop without any interference with the functionality, even if the folder is directly on top of one of the shells. Those background images are just photos the users found and set as their desktop image, and then they overlaid the GeekTool settings on their screen. It uses circular graphs to show CPU and RAM usage, has a reminder at the bottom of the screen, and several other functions. Just take a look at some of these desktops from users on the subreddit. GeekTool is a powerful tool, and if you learn a base amount of coding to help you navigate the various commands, there is almost nothing you cannot do. If you’ve tried out a few features on GeekTool and found it to your liking, the next step is to implement more complex commands. This is for the truly tech-savvy out there that want to monitor their system’s core temperature, CPU usage, and more. Log lets you keep an eye on what’s happening inside your computer. This shell comes in handy for scripts that rely on input from the web, such as the weather or stock information. While you can, in theory, have an entire web page show up on your desktop, it doesn’t exactly work right. Web lets you link to a website or include an HTML script on your desktop. You can change the refresh rate to whatever length you want so it cycles through images at a specific interval. It also has an easy, one-click option to display a random image from the directory. Image places an empty shell which you can fill with an image of your choice. The three other options are very similar. ![]() It will open a Microsoft Word-like toolbar for changing the font, the size, the color, and much more. If you want to display the way text looks, just click the button that says Click here to set font % color. A more comprehensive list can be found at the official repository of Geeklets or on the GeekTool subreddit. These are just a few basic examples of the kinds of commands you can enter into GeekTool. Of course, you need to enter text the script can understand. Once you’ve done this, whatever command you entered will appear in the shell. When you press the red circle in the top left corner to exit, it will ask if you want to save the script. It will open a blank white screen with the heading Edit Script. Beside Command: and the blank white line are three little dots.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |