Skip to content

MBrassey/appleseed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appleseed

appleseed command line widget (CLW), designed for macOS and iTerm2.

licensebadge

─── Code Review
─── reddit

Table of Contents

Requirements:

macOS (High Sierra)
Homebrew
Bash
iTerm2 (enable shell integration)
imgcat

Functionality:

function backup() {

... Makes sure the specified files exist, copies them to appleseed/backup/ ... 
... Reports on activities taken ...

} 

function macOS() {

... Runs 'softwareupdate -l' ...
... Reports on status of macOS updates ... 

}

function homebrew() {

... Runs 'brew update' ...
... Reports on activities taken ... 

}

function network() {

... Determines Public IP ...
... Determines Geo-Location ...
... If country is not US, VPN is considerd active ... 
... Reports these values to the panel ...

}

function graphix() {

... Chooses random image from appleseed/img/ ...
... Displays image within the terminal using imgcat ... 

}

function system() {

... Obtains % available resources on CPU and Disk1 ...
... Reports these values to the panel ... 

}

Configuring the minutes="" variable controls how long appleseed will wait to relaunch, in this way it operates as a simple cron service for session based process automation.

I use appleseed to backup my macOS Desktop Configuration files to appleseed/backup/, and other important files wherever I want them :].

Troubleshooting:

When using the updated versions of zsh (5.3 +) or Shell Integration in iTerm 2 (Build 2.9.20160313) or later, sometimes imgcat will stop working. Review this to resolve the issue.

Artwork:

"blue" • _render__anime_girl_by_miregg-d9m6fta
"green" • valkyrie_crusade___high_elf_render_by_ennaliese-d8xwb5p
"purple" • Anime_girl_purple_hair_render_by_schorch2812-d821xxe
"cool" • [Original] Anime girl render by LCkiWi
"wuf" • wolf_girl_swimsuit_render_by_sirkonata
"sk8" • Anime_girl_render_60_by_dickywardhana-d7l8o5v
"asuna" • asuna_render_by_codzocker00-d5kw2ld
"tech" • render__10__by_maoyuu_maou-d90s16s
"chain" • r_n03_by_maoyuu_maou-dbp0km0
"united" • untitld_1_by_kougon01-d6xnags
"gz1-gz9" • original_render_by_lckiw

Layer Effects: + 0.3 px outer glow, + 3D Effect.

ToDo:

  • Add argument "--sync" to pull down and apply configs from github repo.

Questions

Contact me at [email protected] with any questions or comments.

License

appleseed is published under the CC0_1.0_Universal license.

The Creative Commons CC0 Public Domain Dedication waives copyright interest in a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.