Commit d5e1be30 authored by KYD's avatar KYD
Browse files

Merge branch 'conky-branch' of https://github.com/xKydx/conky-install into conky-branch

parents 25a1586b 3299f7ea
......@@ -2,8 +2,8 @@
Thanks to friends that make things to do.
##Please extract .zip in ~/Downloads directory.
## Please extract .zip in ~/Downloads directory.
Python script to install conky files to the correct directory. (eg. /etc/conky/conky.conf)
[![Download conky-install](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/script-conky-install/files/latest/download)
SIFF/KYD D.Inc
#!/usr/bin/python
# no pause.
# Final edit
import os
import sys
from sys import argv
usrnpt = argv
prompt = ".:|"
os.system('clear')
print ("Conky install script")
print("\n")
print("Press y to install conky file or n to quit")
usrnpt = raw_input(prompt)
if 'y' in usrnpt:
os.system('sudo apt-get install conky-all')
else:
print ("Not Installed")
os.system(exit)
print("\n")
print("Conky install complete.")
print("\n")
print("\n")
print "Conkyname Install"
print("\n")
print("Your conky.conf file will be backedup to conky.back \n")
print("\n")
print ("Install Conky file now?")
print("\n")
print("Press y to install n to skip")
usrnpt = raw_input(prompt)
if 'y' in usrnpt:
os.system("sudo cp /etc/conky/conky.conf /etc/conky/conky.back")
os.system("sudo cp ~/Downloads/BO3conkyrc /etc/conky/conky.conf")
else:
print ("Not Installed")
print("\n")
print("\n")
print ("Install BO3 font now?")
usrnpt = raw_input(prompt)
if 'y' in usrnpt:
os.system('sudo cp agency-fb.ttf /etc/fonts/agency-fb.ttf')
else:
print ("Not Installed")
print("\n")
print("\n")
print ("Conky BO3 Tweeked install script complete")
print("\n")
print ("You can start conky by typing 'conky' in a terminal window.")
print("\n")
#!/usr/bin/python
# no pause.
# Final edit
import os
import sys
......@@ -8,26 +8,26 @@ from sys import argv
usrnpt = argv
prompt = ".:|"
os.system('clear')
print ("Conky install script")
print("\n")
print "BO3conkyrc Install"
print "Black Ops 3 themed conky Install"
print("\n")
print("Your conky.conf file will be backedup to conky.back in your /etc/conky folder\n")
print("Your conky.conf file will be backedup to conky.back in the next step \n")
print("\n")
print ("Do you wish to backup your default conky file and install BO3conkyrc now?")
print ("Do you wish to install Black Ops 3 themed Conky file now?")
print("\n")
print("""Press y to install n to skip. You will be asked for your password for this step.""")
print("Press y to install n to skip")
usrnpt = raw_input(prompt)
if 'y' in usrnpt:
os.system("sudo cp /etc/conky/conky.conf /etc/conky/conky.back")
os.system("sudo cp ~/Downloads/BO3conkyrc /etc/conky/conky.conf")
else:
print ("BO3conkyrc Not Installed")
print ("Not Installed")
print("\n")
print("\n")
print ("BO3conkyrc install script complete")
print ("Black Ops 3 themed conky install complete")
print("\n")
print ("You can start conky by typing 'conky' in a terminal window.")
print("Script stop")
print("\n")
print("\n")
print ("Thank you for using the Blacks Ops 3 CIS.")
print("\n")
#!/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