Last active
June 1, 2018 09:14
-
-
Save kozak127/8872426 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#WINDOW VALUES | |
own_window yes | |
own_window_class Conky | |
own_window_type normal | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
own_window_transparent yes | |
own_window_argb_visual yes | |
#VISUAL VALUES | |
use_xft yes | |
xftfont droidsans:size=10 | |
xftalpha 1 | |
double_buffer yes | |
minimum_size 235 760 | |
maximum_width 235 | |
draw_shades yes | |
draw_outline no | |
draw_borders no | |
draw_graph_borders yes | |
default_color white | |
default_shade_color black | |
default_outline_color gray | |
alignment top_right | |
gap_x 5 | |
gap_y 5 | |
cpu_avg_samples 2 | |
override_utf8_locale no | |
update_interval 1.0 | |
TEXT | |
${color}${font droidsans:bold:size=15}${alignc}${time} | |
${color}${font droidsans:bold:size=10}SENSORS: ${hr 2} | |
${execi 10 /etc/conky/sensors.sh}${iconv_stop} | |
#${font}${execi 10 /etc/conky/killLeak.sh} | |
${color}${if_match $cpu > 75}${color red}$endif${font droidsans:bold:size=10}CPU: ${cpu cpu1} / ${cpu cpu2} / ${cpu cpu3} / ${cpu cpu4} ${hr 2} | |
${cpugraph cpu0} | |
${font}${top name 1}${alignr}${top pid 1} ${top cpu 1} | |
${top name 2}${alignr}${top pid 2} ${top cpu 2} | |
${top name 3}${alignr}${top pid 3} ${top cpu 3} | |
#${top name 4}${alignr}${top pid 4} ${top cpu 4} | |
#${top name 5}${alignr}${top pid 5} ${top cpu 5} | |
#${top name 6}${alignr}${top pid 6} ${top cpu 6} | |
#${top name 7}${alignr}${top pid 7} ${top cpu 7} | |
#${top name 8}${alignr}${top pid 8} ${top cpu 8} | |
#${top name 9}${alignr}${top pid 9} ${top cpu 9} | |
${color}${if_match $memperc > 75}${color red}${endif}${font droidsans:bold:size=10}RAM: ${mem} / ${memmax} ${hr 2} | |
${font}${memgraph} | |
${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem mem_res 1} | |
${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem mem_res 2} | |
${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem mem_res 3} | |
#${top_mem name 4}${alignr}${top_mem pid 4} ${top_mem mem_res 4} | |
#${top_mem name 5}${alignr}${top_mem pid 5} ${top_mem mem_res 5} | |
#${top_mem name 6}${alignr}${top_mem pid 6} ${top_mem mem_res 6} | |
#${top_mem name 7}${alignr}${top_mem pid 7} ${top_mem mem_res 7} | |
#${top_mem name 8}${alignr}${top_mem pid 8} ${top_mem mem_res 8} | |
#${top_mem name 9}${alignr}${top_mem pid 9} ${top_mem mem_res 9} | |
${color}${if_existing /dev/sda}${font droidsans:bold:size=10}SDA R/W: ${diskio_read sda} / ${diskio_write sda} ${hr 2} | |
${font}${diskiograph sda}${endif}${if_existing /dev/sdb} | |
${font droidsans:bold:size=10}SDB R/W: ${diskio_read sdb} / ${diskio_write sdb} ${hr 2} | |
${font}${diskiograph sdb}${endif}${if_existing /dev/sdc} | |
${font droidsans:bold:size=10}SDC R/W: ${diskio_read sdc} / ${diskio_write sdc} ${hr 2} | |
${font}${diskiograph sdc}${endif} | |
${top_io name 1}${alignr}${top_io pid 1} | |
${top_io name 2}${alignr}${top_io pid 2} | |
${top_io name 3}${alignr}${top_io pid 3} | |
${if_match "${addr wlp58s0}" != "No Address"}${execp /etc/conky/netInfo.sh wlp58s0}${else}${font droidsans:bold:size=10}wlp58s0: ${addr wlp58s0} ${hr 2}${endif} | |
${if_match "${addr enp0s31f6}" != "No Address"}${execp /etc/conky/netInfo.sh enp0s31f6}${else}${font droidsans:bold:size=10}enp0s31f6: ${addr enp0s31f6} ${hr 2}${endif} | |
${if_match "${addr usb0}" != "No Address"}${execp /etc/conky/netInfo.sh usb0}${else}${font droidsans:bold:size=10}usb0: ${addr usb0} ${hr 2}${endif} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pid=`ps -eo pid,rss,comm | grep 'chromium-browse' | awk '{if($2 > 750000) print $1;}'` | |
kill -9 ${pid} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
notify-send "MEMORY OVERLOAD" "Free memory under 25%" --icon="dialog-warning" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
interface=$1 | |
echo -e "\${font droidsans:bold:size=10}${interface}: \${addr ${interface}} \${hr 2}\${font} | |
\${downspeedgraph ${interface}} | |
DLS: \${downspeedf ${interface}}KiB/s \${alignr} Total: \${totaldown ${interface}}\n | |
\${upspeedgraph ${interface}} | |
ULS: \${upspeedf ${interface}}KiB/s \${alignr} Total: \${totalup ${interface}}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
input1=$(sensors acpitz-virtual-0 -A) | |
input2=$(echo "$input1" | sed '/acpitz-virtual-0/d' | sed '/temp2/d' | sed '/^$/d' | sed 's/high.*crit/crit/g') | |
echo "$input2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment