Changed usage to take up a bit less room.. some other small changes too

This commit is contained in:
LazoCoder 2017-04-29 13:29:15 -04:00
parent 54543b61c7
commit 3551155b3c
5 changed files with 5 additions and 16 deletions

View file

@ -1,5 +0,0 @@
tell application "iTerm"
tell current session of current window
set background image to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation I - Kanto/025.png"
end tell
end tell

View file

@ -1,2 +0,0 @@
#!/bin/bash
osascript /Users/Laki/GitHub/Pokemon-Terminal/./Scripts/wallpaper.scpt

View file

@ -1,5 +0,0 @@
tell application "System Events"
tell current desktop
set picture to "/Users/Laki/GitHub/Pokemon-Terminal/./Images/Generation I - Kanto/088.png"
end tell
end tell

View file

@ -76,8 +76,8 @@ Other Parameters:
pokemon extra - List all the Pokemon from the 'Extra' folder.
pokemon random - Change the terminal background to a random Pokemon.
pokemon ? - Identify the current Pokemon in the terminal.
pokemon _pikachu - Change the desktop wallpaper to the specified Pokemon.
pokemon _random - Change the desktop wallpaper to a random Pokemon.
pokemon _pikachu - Change the wallpaper to the specified Pokemon.
pokemon _random - Change the wallpaper to a random Pokemon.
pokemon _? - Identify the current Pokemon in the wallpaper.
pokemon slideshow - Iterate through each Pokemon.
pokemon slideshow-kanto - Iterate through each Pokemon in the specified region.
@ -199,5 +199,6 @@ if __name__ == "__main__":
"\nOr type \"help\" to see all the commands.")
elif len(argv) == 2:
single_argument_handler(argv[1].lower())
scripter.clear()
else:
print("Only one command line argument is supported.")
print("Only one command line argument is supported.")

View file

@ -101,4 +101,4 @@ def __determine_pokemon(db, script_name):
return
pokemon = db.get_pokemon(image_name)
print(pokemon.get_id(), pokemon.get_name().capitalize())
print(pokemon.get_id(), pokemon.get_name().capitalize())