Quantcast
Channel: Geeklets
Viewing all 81 articles
Browse latest View live

Battery Percentage/Status and To Do section

$
0
0

This is my first try at a GeekTool desktop.

I'm not sure if these geeklets work on all macs or not, but tentatively these are for OSX Mavericks and up.

My desktop is minimalist-ish. It has some time and date elements, these battery geeklets, and a "To do" section that reads a "todo.txt" containing that exact info.

Battery geeklets

To check if the battery geeklets work on your computer, enter this in terminal:

pmset -g batt

If you get a response which includes battery data in these kinds of formats:

Now drawing from 'Battery Power'
-InternalBattery-0  47%; discharging; 2:46 remaining

Now drawing from 'AC Power'
-InternalBattery-0  46%; charging; (no estimate)

then the geeklets should work fine. When you place them, place them under each other.

To do geeklet

The "To do" geeklet reads a "todo.txt" file on your computer. To edit the location of this file, open the script and edit this line:

FILE="Users/somerandomuser/Desktop/etc/todo.txt"

to suit your needs.

If all works well then you get something like the picture I uploaded. Change the fonts and style, etc.

These are part of my whole desktop design for my MacBook Pro. It's not really that tough to recreate this desktop. If I update this, then I will reupload these geeklets.


RAM Meter 3

$
0
0

Last updated: July 2, 2015

Description

This version is an update of Matt's RAM Meter, which fixes issues with Maverick and Yosemite. The update also increases customizability.

Set-up

Change the first line to match your system's total RAM in Megabytes. For example:

totalRAM=16000

means you have 16GB of RAM.

Customize

You can change the number of ticks and tick character in the second and third line. For example:

ticks=20
tickchar="•"

means your meter will have 20 dots in total. (Refer to screenshot).

By default, the border color is set to red (31). To change the color, find the following line:

#Border tick
echo "\033[1;31m$tickchar\033[0m\c"

and change the 31 to another number. To change the color of the unused memory ticks, find a similar line and change the 30 to another number.

For Coders

The used RAM in megabytes is defined as:

usedRAM=`top -l 1 | awk '/PhysMem/ {print $2}' | sed s/M// `

TableFlip

$
0
0

Shows a simple ASCII animation of flipping a table

(╯°□°)╯︵ ┻━┻

J.A.R.V.I.S Version 0.1

$
0
0

this is the first ever J.A.R.V.I.S background custom made please like.

Yours sincerely Jayden Elers

J.A.R.V.I.S. Attempt 1

$
0
0

No geeklets to post. Suggestions?

IOS 8 Styled

$
0
0

Used a IOS8 wallpaper. Geeklets for time and date. Weather conditions and sun rise /set. Also Spotify and iTunes info. Hope you like it.

Axe to Fall

$
0
0

Just started. Any ideas on what to do? Shoot a message!


Geeklets on the right will be added momentarily.

 OS X El Captain
 Version 10.11.1
 Processor: 2.7 GHz Intel Core i5
 Memory: 8GB 1867 MHz DDR3
 Graphics: Intel Iris Graphics 6100 1536 MB

Bebas Neue was the only font used (in variation). If you want your desktop to relay the same, please download for free before tinkering with any geeklets.

WALLPAPER - Axe to Fall | 4096x2168

TOP LEFT - BTState Theme for Bowtie | altered w/ Bebas Neue font

MID LEFT - Date Geeklets

BTM LEFT - Website Uptime

BTM RIGHT - Battery Status

The Office Quotes

$
0
0

Enjoy some random quotes from the greatest show in history.


RAM Meter 4

$
0
0

Description This is an update of enochou's RAM Meter 3. I wanted to have it identify the amount of memory automatically, and not require editing the script within the geeklet to set that value. Also, I wanted to not only show the amount of used and free memory, but also identify the memory that is used but can be freed up by purging the data to swap space or compressed memory space.

This information is provided by having the meter presents 3 sets of "ticks" for memory. The first set, on the left, is memory that is in use and can not be purged or freed in any way, short of closing programs. The second set, in the middle, is the rest of the memory that is in use, but can be purged out by swapping to disk. The third set, on the right, is the memory that is not in use.

Be default, the colors are red for non-purgeable memory, black for in-use but purgeable, and white for free memory.

Customizing By default the geeklet uses 20 tick marks, therefore each one represents roughly 5% of memory. You can change the number of ticks used by changing the ticks variable. Since this is an expression of percentage of memory, do not use a number greater than 100. If you use a number that isn't a positive divisor of 100 (like 50, 25, 20, 10, 5) then the accuracy goes down, and the fewer ticks you use the less "accurate" the value becomes.

You can also change the color of the non-purgeable memory via the nonpurgeColor variable, the color of the remainder of used memory via usedColor, and the color of free memory via the freeColor variable. The color values available are 0m for "no color" or white, 30m for black, and 31m for red. Other values include 32m through 37m. You could also use 40m through 47m for color ticks in a square background color, but that could be more distracting. The color values can be seen at the ANSI escape code wikipedia page.

Coding tidbits Previously, I used a memory meter based on pulling data from the top command's PhysMem line, but with newer versions of OS X it is a little more complicated. OS X will often set aside memory for storing compressed pages (instead of swapping to disc with those pages) and it won't free up "inactive" pages, that are marked as no longer needed, but haven't been cleared and moved to free pages yet. Therefore, the amount of free memory reported by PhysMem is always lower than what is actually free to use.

This script uses data from the vm_stat command to identify how memory is being used. This includes all used memory, which is the done by adding together the values for Pages active, Pages speculative, Pages throttled, and Pages wired down. All memory is the used memory value along with the values for Pages free and Pages inactive added to it. Those last two values, Pages free and Pages inactive, are added together to show the amount of free memory. The non-purgeable memory is the used memory value with the value of Pages purgeable subtracted from it.

The Pages purgeable is memory that is in use, but is accessed so infrequently, that it can be swapped out to either the compressed memory pages, which takes up less space by compressing the memory stored in it, or swapped out to disc-based swap space. Compressed memory space is faster than disc-based swap space, but does continue to use up memory space, just less of it than normally. Disc-based swap space is good that it doesn't take up any memory space (or very little for indexing of where things are in the swap space), but takes far longer to access.

Current Location Weather (Yahoo)

$
0
0

Here is my attempt to create current location weather for GeekTool.

I edited code from this website and give credit to the person who created it. Thank you!

I will add Weather Image soon. I will try to add a 5 day forecast geeklet file too later.

Image Name

The code I wrote for this. Second Geeklet. Current Weather 2.

W=curl "https://weather.yahoo.com" S=(echo "$W" | grep "region" | sed 's/<[^>]*>//g' | head -2 | tail -1 | sed 's/region://g' | sed -e "s/'//g") C=(echo "$W" | grep '"name"' | sed 's/<[^>]*>//g' | head -1 | tail -1 | sed 's/region://g' | sed -e "s/'//g") F=(echo "$W" | grep 'div class="cond' | sed 's/<[^>]*>//g' | head -2 | tail -1 | sed 's/region://g' | sed -e "s/'//g") T=(echo "$W" | grep '"num"' | sed 's/<[^>]*>//g' | head -1 | tail -1 | sed 's/region://g' | sed -e "s/'//g" | sed -e "s/°/°F/g") H=(echo "$W" | grep '"hi f w-up-arrow"'| sed 's/<[^>]*>//g' | head -1 | tail -1 | sed 's/region://g' | sed -e "s/'//g" | sed -e "s/°/°F/g") L=(echo "$W" | grep '"lo f w-down-arrow"'| sed 's/<[^>]*>//g' | head -1 | tail -1 | sed 's/region://g' | sed -e "s/'//g" | sed -e "s/°/°F/g") D=(curl "https://weather.yahoo.com" | grep "Humidity" | awk '{print $86}' | sed 's/<[^>]*>//g' | sed 's/class=//g' | sed 's/"//g' | sed 's/value//g' | sed 's/n//g' | sed 's/>//g' | sed 's/\\\//g')

echo $C,$S echo $T " " $F " " echo "↑"$H "-" "↓"$L echo "$D Humidity"

Gmail with Sender, Title and Count using Keychain 2015

$
0
0

Update for 2015

...and for a special request an version in english.

The original text ist gone. Don't know why. This geeklet is a mixture from different ones from geekmember here and scriptsnippets from the web.

Have fun.

Display Gear Music Player currently playing song

Colorized Stock Viewer, Version 2

$
0
0

Cleaned-up Colorized Stock Viewer (http://www.macosxtips.co.uk/geeklets/productivity/colorized-stock-viewer/), added capability to easily add stock tickers and customize stock names. Also put in trap for invalid stock items on Yahoo (such as ^DJI). Uses Google for real time quotes and Yahoo for 15 min delayed quotes. No change is green instead of red.

Enjoy!

Geektool - Net inspector dark 1 - update 28/02/2016

$
0
0

Work in progresse, "how to" 's soon ...

Edit 27/02/2016 : version 2.0 : sun and moon phases

Calvin and Hobbes Background

$
0
0

Has a cool background with the Calvin and Hobbes, and the Calvin and Hobbes text, and many little things to make it look cool.


Daily Scripture

$
0
0

I wrote this to show the daily script from http://www.christnotes.org. It is the New American Standard (NASB95) Bible.

It has 3 geeklets 1. Bible Scripture 2. Bible Reference 3. Background

Image Name

question!!

$
0
0

hi! i wanna know how do you place a folder in a geeklet that when you click it, it will open that folder? for example, i placed my desktop folder in a geeklet, then if i clicked it, finder would open to my desktop location?? please help! thanks!! :)

JSS desktop V2

Current Location Weather (Yahoo)

$
0
0

This a current location weather for GeekTool using the yahoo weather website.

The weather icon can be found on this website. Weather Icon

Image Name

Muslim Prayer Time Geeklet

$
0
0

Get daily muslim pray time. Change coordinate accordingly in Geeklet code

Viewing all 81 articles
Browse latest View live