Commit 6f91dbae authored by KYD's avatar KYD
Browse files

Cleanup

parent 9493b843
google-site-verification: googlefc9b101f43ca4288.html
\ No newline at end of file
#!/usr/bin/python
# Python script to install conky files
#
import os
import sys
from sys import argv
usrnpt = argv
prompt = ".:|"
os.system('clear')
print "Name-of-Conky-to-be-installed-here"# Name of Conky
print("\n")
print("\n")
print ("Install Conky file now?")
print("WARNING This will overwrite your default conky.conf file")
print("Type no to cancel")
usrnpt = raw_input(prompt)
if 'y' in usrnpt:
os.system("sudo cp /NAME/OF/DIRECTORY/filename /etc/conky/conky.conf")
# Default: sudo cp ~/Downloads/ic-v0.1/conkyrc /etc/conky/conky.conf
if 'no' in usrnpt:
print ("Not Installed")
print ("Install script not complete")
os.system(CTRL-C)
print("\n")
print("\n")
## Uncomment if your installing a font with your conky.
## No need if your not.
#print ("Install font now?")
#usrnpt = raw_input(prompt)
#if 'y' in usrnpt:
# os.system('sudo cp Font-name.ttf /etc/fonts/Font-name.ttf')#replace Font-name.ttf.
#else:
# print ("Not Installed")
#print("\n")
#print("\n")
print ("Name-Of-Conky install script complete")# Name of conky
print("\n")
print ("You can start conky by typing 'conky' in a terminal window.")
print("\n")
#!/usr/bin/python
# Python script to install multiple conky files.
#
import os
import sys
from sys import argv
usrnpt = argv
prompt = ".:|"
os.system('clear')
print "Multiple conkyrc file Python installer script"
print("\n")
print "Please choose your conky from this list"# Name of Conky
print("""KYD_Grey_conkyrc
Siff_Grey_conkyrc """)
print("\n")
print("\n")
usrnpt = raw_input(prompt)
if 'Siff' in usrnpt:
os.system("sudo cp ~/Downloads/Siff_Grey_conkyrc /etc/conky/conky.conf")# EG: sudo cp ~/Downloads/conkyrc /etc/conky/conky.conf
if 'KYD' in usrnpt:
os.system("sudo cp ~/Downloads/KYD_Grey_conkyrc /etc/conky/conky.conf")# EG: sudo cp ~/Downloads/conkyrc /etc/conky/conky.conf
else:
print ("Not Installed")
print("Please re-run the script and try again")
print("\n")
print("\n")
print("Please re-run the script and try again")
## Uncomment if your installing a font with your conky.
## No need if your not.
#print ("Install font now?")
#usrnpt = raw_input(prompt)
#if 'y' in usrnpt:
# os.system('sudo cp Font-name.ttf /etc/fonts/Font-name.ttf')#replace Name of font.
#else:
# print ("Not Installed")
#print("\n")
#print("\n")
print ("Multi-conky install script complete")# Name of conky
print("\n")
print ("You can start conky by typing 'conky' in a terminal window.")
print("\n")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment