t means to always show the "today" section, even when no events are on (this is used in conjunction with -sd). nc means no calendar names (I have this because my main calendar's name is long). n Makes it show only events from now on, so once an event is finish, it disappears from the list. This tasty morsel of seemingly random letters -n -nc -sd -t -li 5 -eep notes are modifiers to the eventsToday+1 command. eventsToday+1 means to show my events today plus one day in the future, I.e Tomorrow. The /usr/local/bin/icalBuddy part means to activate iCalBuddy. usr/local/bin/icalBuddy -n -nc -sd -t -li 5 -eep notes eventsToday+1 Refresh: 300 (every 5 minutes). Anyway, there are countless Geeklets that utilise this but you can easily write your own code by following along with the iCalbuddy usage examples page or just copying and pasting what I have done. I was reluctant to install a piece of code that alters terminal, but this seems on the level (and I was tired of trying downloading scripts that don't work or require me to alter them too much). This uses a terminal utility called iCalBuddy, that can be downloaded here Script 4: Calendar ( I know I misspelt it in the imgur link) This script is basically the same as Simple iTunes Meter except: If you don't want that, then use the original code linked below Refresh rate = 1s (need to know what song is playing)Īll of the changes I made to the code are just adding custom sadboy text and giving a new line per category. Set output to "∆ The only thing playing now is the void ∆"Įcho $DATA | awk -F new_line '' ` "song: " & trackname & "new_line" & "artist: " & artistname & "new_line" & "album: " & albumname & "new_line" & "new_line" & "∆ Music has ceased ∆" Set output to "song: " & trackname & "new_line" & "artist: " & artistname & "new_line" & "album: " & albumname & "new_line" & "new_line" & "∆ the music is doing its thing ∆" Set artistname to artist of current track DATA=$(osascript -e 'tell application "System Events" Credit to olivierdeen at the geeklet repository for posting the code that I mangled into what I wanted to do.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |