cis.py 963 Bytes
Newer Older
KYD's avatar
edit  
KYD committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/python
# no pause.
# Final edit

import os
import sys
from sys import argv
usrnpt = argv
prompt = ".:|"
os.system('clear')
print("\n")
print ("Conky Install Script")
print("\n")
print("Your conky.conf file will be backedup to conky.back in the next step \n")
print("\n")
print ("Do you wish to install your new conkyrc 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")
KYD's avatar
KYD committed
22
        os.system("sudo cp ~/Downloads/Input-your-conkyrc-file-here /etc/conky/conky.conf")
KYD's avatar
edit  
KYD committed
23
24
25
26
27
28
29
30
31
32
33
else:
        print ("Not Installed")
print("\n")
print("\n")
print ("Conky install script complete")
print("\n")
print ("You can start conky by typing 'conky' in a terminal window.")
print("\n")
print("\n")
print ("Thank you for using CIS.")
print("\n")
KYD's avatar
KYD committed
34
print("Download more conky.conf and conkyrc files @ https://www.opendesktop.org/member/366587/products/")