Commit 58c1060e authored by KYD's avatar KYD
Browse files

Merge branch 'conky-branch'

parents a66399ad 8ead37c8
# conky-install
# CIS
Thanks to friends that make things to do.
Conky Install Script.
## Please extract .zip in ~/Downloads directory.
Python script to install conky files to the correct directory. (eg. /etc/conky/conky.conf)
KYD and SIFF D.Inc
SIFF/KYD/Jr D.Inc
CIS README
You must edit the cis.py file to install the conky file you want.
First step is to open the cis.py file with any text editor.
Edit line 22 or the line with os.system("sudo cp ~/Downloads/Input-your-conkyrc-file-here /etc/conky/conky.conf")
remove Input-your-conkyrc-file-here and input the name of the conky file you want to install.
Links
Download conky files @ https://www.opendesktop.org/member/366587/products/
......@@ -9,25 +9,26 @@ usrnpt = argv
prompt = ".:|"
os.system('clear')
print("\n")
print "Black Ops 3 themed conky Install"
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 Black Ops 3 themed Conky file now?")
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")
os.system("sudo cp ~/Downloads/BO3conkyrc /etc/conky/conky.conf")
os.system("sudo cp ~/Downloads/Input-your-conkyrc-file-here /etc/conky/conky.conf")
else:
print ("Not Installed")
print("\n")
print("\n")
print ("Black Ops 3 themed conky install complete")
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 the Blacks Ops 3 CIS.")
print ("Thank you for using CIS.")
print("\n")
print("Download more conky.conf and conkyrc files @ https://www.opendesktop.org/member/366587/products/")
......@@ -13,7 +13,8 @@ prompt = ".:|"
os.system('clear')
print "Multiple conkyrc file Python installer script"# Name of Conky
print("\n")
print "Please choose your conky from this list"# Name of Conky
print("\n")
print "Please choose your conky from this list. NOTE You can only install one at a time."# Name of Conky
print("""KYD_Grey_conkyrc
Siff_Grey_conkyrc
Mini-conkyrc
......@@ -38,12 +39,12 @@ 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 Name of font.
else:
print ("Not Installed")
#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
......
conky.config = {
text_buffer_size = 512,
update_interval = 2.0,
total_run_times = 0,
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
double_buffer = true,
minimum_height = 200,
minimum_width = 200,
draw_shades = true,
draw_outline = false,
draw_borders = false,
default_color ='Grey',
default_shade_color ='black',
default_outline_color = 'grey',
own_window_colour = 'DarkGrey',
alignment = 'bm',
gap_x = 0,
gap_y = -130,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
uppercase = false,
temperature_unit = 'celsius',
default_color = 'FFFFFF',
color1 = 'blue',
color2 = 'FF0302',
color3 = 'green'
}
conky.text = [[
${color2}${font}CPU ${color}${cpu cpu}% | ${color2}RAM ${color}${memeasyfree} of ${memmax} available | ${color2}NET ${color}up ${upspeed enp0s25} dn ${downspeed enp0s25} | ${color2}Node ${color}${nodename} | ${color2}IP ${color}${if_existing /proc/net/route enp0s25}${addr enp0s25}${color3} LAN${color}${else if_existing /proc/net/route wlan0}${addr wlan0}${color2} WLAN${color}${endif}
]]
#FFBD65# Author: Kyd
# Name : newconkyrc
# license : Distributed under the terms of GNU GPL version 2 or later
use_xft yes
xftfont Agency FB:size=10
xftalpha 0.8
text_buffer_size 2048
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar
double_buffer yes
minimum_size 100
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
default_color 030303#grey
color1 FFBD65
color2 767676
color3 242424
color4 101115
default_shade_color white
default_outline_color grey#D47557
own_window_colour white
alignment top_right
gap_x 0
gap_y 60
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
${color4}${font Agency FB:style=bold:size=14}LiteCRC
${color}${font}Uptime: ${color4}${alignr}${uptime}
${color2}${font}NVidia ${color}Quadro ${color4}GPU ${color}$alignr ${nvidia gpufreq} Mhz
${color}${font}Memory $alignr ${nvidia memfreq} Mhz
${color4}${font}GPU Temp ${color}$alignr ${nvidia temp} °C
#${color}${font}Threshold${alignr}${color4}${nvidia threshold} °C
${color}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 10-50}
${color4}${font}CPU Temp${color}${alignr}${acpitemp}°C
${color}Running @${alignr}${color4}${freq cpu}${color} MHz
${color}CPU used${alignr}${cpu cpu}%
${color4}${hr 1}
${color}Core 1 ${alignr}${cpu cpu1}%
${color}${cpugraph cpu1 12,250 242424 101115 -l}
${color}Core 2 ${alignr}${cpu cpu2}%
${color}${cpugraph cpu2 12,250 242424 101115 -l}
${color}Core 3 ${alignr}${cpu cpu3}%
${color}${cpugraph cpu3 12,250 242424 101115 -l}
${color}Core 4 ${alignr}${cpu cpu4}%
${color}${cpugraph cpu4 12,250 242424 101115 -l}
${color4}Top 5 Processes ${hr 1}
${color}Processes${goto 135}PID${goto 180}${color4}CPU% ${color}${alignr}MEM%
${color}${top name 1}${goto 130}${top pid 1}${goto 180}${top cpu 1}${alignr}${top mem 1}
${color}${top name 2}${goto 130}${top pid 2}${goto 180}${top cpu 2}${alignr}${top mem 2}
${color}${top name 3}${goto 130}${top pid 3}${goto 180}${top cpu 3}${alignr}${top mem 3}
${color}${top name 4}${goto 130}${top pid 4}${goto 180}${top cpu 4}${alignr}${top mem 4}
${color}${top name 5}${goto 130}${top pid 5}${goto 180}${top cpu 5}${alignr}${top mem 5}
${color4}MEM / DRIVESPACE ${hr 1}
${color}RAM: ${alignr}$mem / ${alignr}$memmax
${color}SWAP: ${alignr}$swap / ${alignr}$swapmax
${color4}MOUNT / HDD's ${color4}${hr 1}
${color}Root: ${alignr}${fs_used /} / ${alignr}${fs_size /}
${color}Available: ${color3}${fs_free_perc /}%
#${color}Home: ${alignr}${fs_used /home} / ${alignr}${fs_size /home}
#${color}Available: ${fs_free_perc /home}%
${color4}Network: ${hr 1}
${color}External IP: ${exec curl -s www.icanhazip.com}
${color}Internal IP:${if_existing /proc/net/route enp0s25}${addr enp0s25}${color3} LAN${color}
Inbound ${alignr}${downspeed enp0s25}kb/s
${downspeedgraph enp0s25 10,250 242424 101115 -t}
Outbound ${alignr}${upspeed enp0s25}kb/s
${upspeedgraph enp0s25 10,250 242424 101115 -t}
${else}
${addr wlan0}${color3} WLAN${color}
Inbound ${alignr} ${downspeed wlan0} kb/s
${downspeedgraph wlan0 10,250 D6E8F2 14345B -t}
Outbound ${alignr}${upspeed wlan0} kb/s
${upspeedgraph wlan0 10,250 D6E8F2 14345B -t}
${else}
${color}Network disconnected${else}${endif}${endif}
${color}Total LAN Download: ${alignr}${color4}${totaldown enp0s25}
${color}Total LAN Upload: ${alignr}${color4}${totalup enp0s25}
${color}Total WLAN Download: ${alignr}${color4}${totaldown wlan0}
${color}Total WLAN Upload: ${alignr}${color4}${totalup wlan0}
${color4}${hr 1}
${color4}${font DejaVu Sans:size=8}${alignc}HP EliteBook
#${time %I:%M%p}${alignr}${time %A, %D}${font}
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