Created
August 23, 2017 17:49
-
-
Save drksde/7d44f6df49e8baa52dcad7086b19ecdb to your computer and use it in GitHub Desktop.
This file contains 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
# Conky, a system monitor, based on torsmo | |
# | |
# Any original torsmo code is licensed under the BSD license | |
# | |
# All code written since the fork of torsmo is licensed under the GPL | |
# | |
# Please see COPYING for details | |
# | |
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen | |
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) | |
# All rights reserved. | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <http://www.gnu.org/licenses/>. | |
# | |
background yes | |
use_xft yes | |
xftfont 123:size=8 | |
xftalpha 0.1 | |
update_interval 0.3 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent no | |
own_window_class conky-semi | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
own_window_argb_visual yes | |
own_window_argb_value 0 | |
double_buffer yes | |
minimum_size 240 5 | |
maximum_width 400 | |
draw_shades no | |
draw_outline no | |
draw_borders no | |
draw_graph_borders yes | |
default_color gray | |
default_shade_color red | |
default_outline_color green | |
alignment top_right | |
gap_x 7 | |
gap_y 1 | |
stippled_borders 3 | |
border_inner_margin 4 | |
border_width 5 | |
no_buffers no | |
uppercase no | |
cpu_avg_samples 2 | |
net_avg_samples 1 | |
#override_utf8_locale yes | |
use_spacer right | |
text_buffer_size 256 | |
TEXT | |
#internal external ips weather | |
${font Monospace Regular:size=10}${color #0B610B}drksde ${color 0B610B} ${hr 2} | |
$font${color DimGray}$sysname $kernel $alignr $machine | |
Intel CORE i5 $alignr${freq_g cpu0}Ghz | |
Uptime $alignr${uptime} | |
File System $alignr${fs_type} | |
${font Arial:bold:size=10}${color #0B610B}NETWORK ${color #0B610B}${hr 2} | |
#$font${color DimGray}IP on eno1 $alignr ${addr eno1} | |
Up $alignr ${upspeed eno1} kb/s | |
${color DimGray}${upspeedgraph eno1 20,250 DimGray DimGray} | |
Down $alignr ${downspeed eno1} kb/s | |
${color DimGray}${downspeedgraph eno1 20,250 DimGray DimGray} | |
Uploaded: $alignr ${totalup eno1} Downloaded: $alignr ${totaldown eno1} | |
${font Monospace Regular:size=10}${color #0B610B}PROCESSORS ${color #0B610B}${hr 2} | |
$font${color DimGray}Core1 ${cpu cpu1}% ${cpubar cpu1} | |
Freq: ${freq 1}MHz | |
Core2 ${cpu cpu2}% ${cpubar cpu2} | |
Freq: ${freq 2}MHz | |
Core3 ${cpu cpu3}% ${cpubar cpu3} | |
Freq: ${freq 3}MHz | |
Core4 ${cpu cpu4}% ${cpubar cpu4} | |
Freq: ${freq 4}MHz | |
${font Arial:bold:size=10}${color #0B610B}MEMORY ${color #0B610B}${hr 2} | |
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc% | |
$membar | |
${font Arial:bold:size=10}${color #0B610B}HDD ${color #0B610B}${hr 2} | |
$font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}% | |
${fs_bar /home} | |
#/XtraHDD $alignc ${fs_used /media/usb0} / ${fs_size /media/usb0} $alignr ${fs_free_perc /media/usb0}% | |
${fs_bar /media/usb} | |
/USB $alignc ${fs_used /media/D859-D69D} / ${fs_size /media/D859-D69D} $alignr ${fs_free_perc /media/D859-D69D}% | |
${fs_bar /media/D859-D69D} | |
${color 0B610B}Entropy: ${color}${entropy_avail}${color DimGray}/${color}${entropy_poolsize} ${color DimGray}${entropy_bar} | |
#${color DimGray}Disk I/O: $color${diskio}${cpubar 5,100} | |
${color #0B610B}Disk I/O: $color${diskio} | |
${color DimGray}${diskiograph 20,200 DimGray DimGray 750} | |
${color DimGray}${diskio}${cpubar} | |
${color DimGray}Swap Usage:$color $swap${color DimGray}/${color}$swapmax - $swapperc% ${color DimGray}${swapbar} | |
${font Arial:bold:size=10}${color #0B610B}TEMPERATURES ${color #0B610B}${hr 2} | |
$font${color DimGray}${color DimGray}Temp0 Temp$alignr${hwmon temp 4}°C | |
${color DimGray}Temp1 Temp$alignr${hwmon temp 1}°C | |
${color DimGray}Temp2 Temp$alignr${hwmon temp 2}°C | |
${color DimGray}Temp3 Temp$alignr${hwmon temp 3}°C | |
${font Arial:bold:size=10}${color #0B610B}TOP PROCESSES ${color #0B610B}${hr 2} | |
${color DimGray}$font${top_mem name 1}${alignr}${top mem 1} % | |
$font${top_mem name 2}${alignr}${top mem 2} % | |
$font${top_mem name 3}${alignr}${top mem 3} % | |
$font${top_mem name 4}${alignr}${top mem 4} % | |
$font${top_mem name 5}${alignr}${top mem 5} % | |
$font${top_mem name 6}${alignr}${top mem 6} % | |
$font${top_mem name 7}${alignr}${top mem 7} % | |
$font${top_mem name 8}${alignr}${top mem 8} % | |
${if_running rhythmbox} | |
${font Monospace Regular:size=10}${color #0B610B}Rhythm Box${hr}${font} | |
${offset 1}${color 0B610B}${font HandelGotDLig:size=9} ${exec rhythmbox-client --no-start --print-playing-format "%te / %td"} | |
${offset 1}${color 0B610B}${font HandelGotDLig:size=9} ${exec rhythmbox-client --no-start --print-playing-format %tt} | |
${offset 1}${color 0B610B}${font HandelGotDLig:size=11} ${exec rhythmbox-client --print-playing-format %at} | |
${offset 1}${color 0B610B}${font HandelGotDLig:size=12} ${exec rhythmbox-client --print-playing-format %aa}${font} | |
#${exec sh .conkyart.sh}${image /home/sdlynx/.drop -s 64x64 -p 5,135}${image /home/sdlynx/.album -s 64x64 -p 0,130}$endif | |
${color DimGray}Core 2 Freq: ${freq 2}MHz | |
${color DimGray}${cpugraph cpu2 DimGRay DimGray} | |
#$font${color DimGray}Core2 ${cpu cpu2}% ${cpubar cpu2} | |
${color DimGray}Core 3 Freq: ${freq 3}MHz | |
${color DimGray}${cpugraph cpu3 DimGRay DimGray} | |
#$font${color DimGray}Core3 ${cpu cpu3}% ${cpubar cpu3} | |
${color DimGray}Core 4 Freq: ${freq 4}MHz | |
${color DimGray}${cpugraph cpu4 DimGRay DimGray} | |
#$font${color DimGray}Core4 ${cpu cpu4}% ${cpubar cpu4} | |
${color DimGray}Core 1: $color ${freq 1} Mhz $alignr${color lightgrey} Usage:$color $cpu% | |
#$font${color DimGray}${cpubar cpu1} | |
${color DimGray}${cpugraph cpu1 DimGRay DimGray} | |
${color DimGray}Core 2: $color ${freq 2} Mhz $alignr${color lightgrey} Usage:$color $cpu% | |
#$font${color DimGray}${cpubar cpu2} | |
${color DimGray}${cpugraph cpu2 DimGRay DimGray} | |
${color DimGray}Core 1: $color ${freq 1} Mhz $alignr${color lightgrey} Usage:$color $cpu% | |
#$font${color DimGray}${cpubar cpu1} | |
${color DimGray}${cpugraph cpu1 DimGRay DimGray} | |
${color DimGray}Core 1: $color ${freq 1} Mhz $alignr${color lightgrey} Usage:$color $cpu% | |
#$font${color DimGray}${cpubar cpu1} | |
${color DimGray}${cpugraph cpu1 DimGRay DimGray} | |
${color DimGray}Core 2 Freq: ${freq 2}MHz | |
${color DimGray}${cpugraph cpu2 DimGRay DimGray} | |
#$font${color DimGray}Core2 ${cpu cpu2}% ${cpubar cpu2} | |
${color DimGray}Core 3 Freq: ${freq 3}MHz | |
${color DimGray}${cpugraph cpu3 DimGRay DimGray} | |
#$font${color DimGray}Core3 ${cpu cpu3}% ${cpubar cpu3} | |
${color DimGray}Core 4 Freq: ${freq 4}MHz | |
${color DimGray}${cpugraph cpu4 DimGRay DimGray} | |
#$font${color DimGray}Core4 ${cpu cpu4}% ${cpubar cpu4} | |
#${color DimGray}Core 1Freq: ${freq 1}MHz | |
#${color DimGray}${cpugraph cpu1 DimGRay DimGray} | |
#$font${color DimGray}Core1 ${cpu cpu1}% ${cpubar cpu1} | |
This file contains 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
# Conky, a system monitor, based on torsmo | |
# | |
# Any original torsmo code is licensed under the BSD license | |
# | |
# All code written since the fork of torsmo is licensed under the GPL | |
# | |
# Please see COPYING for details | |
# | |
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen | |
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) | |
# All rights reserved. | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <http://www.gnu.org/licenses/>. | |
# | |
background yes | |
use_xft yes | |
xftfont 123:size=8 | |
xftalpha 0.1 | |
update_interval 0.3 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent no | |
own_window_class conky-semi | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
own_window_argb_visual yes | |
own_window_argb_value 0 | |
double_buffer yes | |
minimum_size 240 5 | |
maximum_width 400 | |
draw_shades no | |
draw_outline no | |
draw_borders no | |
draw_graph_borders yes | |
default_color gray | |
default_shade_color red | |
default_outline_color green | |
alignment top_left | |
gap_x 7 | |
gap_y 1 | |
stippled_borders 3 | |
border_inner_margin 4 | |
border_width 5 | |
no_buffers no | |
uppercase no | |
cpu_avg_samples 2 | |
net_avg_samples 1 | |
#override_utf8_locale yes | |
use_spacer right | |
text_buffer_size 256 | |
TEXT | |
${color 0B610B}${execi 300 /home/drksde/conky-rss.sh http://rss.slashdot.org/Slashdot/slashdotMain 15 1} | |
Hacker News - https://news.ycombinator.com/rss | |
${color 0B610B}${execi 300 /home/drksde/conky-rss.sh https://news.ycombinator.com/rss 30 2} | |
PenTestTools | |
${color 0B610B}${execi 300 /home/drksde/conky-rss.sh http://feeds.feedburner.com/PentestTools 24 1} | |
#${color 0B610B}${execi 300 /home/drksde/conky-rss.sh https://www.rt.com/rss/news/ 15 1} | |
This file contains 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
# Conky, a system monitor, based on torsmo | |
# | |
# Any original torsmo code is licensed under the BSD license | |
# | |
# All code written since the fork of torsmo is licensed under the GPL | |
# | |
# Please see COPYING for details | |
# | |
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen | |
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) | |
# All rights reserved. | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <http://www.gnu.org/licenses/>. | |
# | |
background yes | |
use_xft yes | |
xftfont 123:size=8 | |
xftalpha 0.1 | |
update_interval 0.3 | |
total_run_times 0 | |
own_window yes | |
own_window_type normal | |
own_window_transparent no | |
own_window_class conky-semi | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
own_window_argb_visual yes | |
own_window_argb_value 0 | |
double_buffer yes | |
minimum_size 240 5 | |
maximum_width 400 | |
draw_shades no | |
draw_outline no | |
draw_borders no | |
draw_graph_borders yes | |
default_color gray | |
default_shade_color red | |
default_outline_color green | |
alignment top_middle | |
gap_x 7 | |
gap_y 1 | |
stippled_borders 3 | |
border_inner_margin 4 | |
border_width 5 | |
no_buffers no | |
uppercase no | |
cpu_avg_samples 2 | |
net_avg_samples 1 | |
#override_utf8_locale yes | |
use_spacer right | |
text_buffer_size 256 | |
TEXT | |
${color 0B610B}${execi 300 /home/drksde/conky-rss.sh https://www.rt.com/rss/news/ 20 1} | |
${color DimGray}Port(s)${alignr}#Connections | |
$color Inbound: ${tcp_portmon 1 32767 count}Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count} | |
${color DimGray}Inbound Connection ${alignr} Local Service/Port$color | |
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0} | |
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1} | |
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2} | |
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3} | |
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4} | |
${color DimGray}Outbound Connection ${alignr} Remote Service/Port$color | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 9} ${alignr} ${tcp_portmon 32768 61000 rservice 9} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 10} ${alignr} ${tcp_portmon 32768 61000 rservice 10} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 11} ${alignr} ${tcp_portmon 32768 61000 rservice 11} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 12} ${alignr} ${tcp_portmon 32768 61000 rservice 12} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 13} ${alignr} ${tcp_portmon 32768 61000 rservice 13} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 14} ${alignr} ${tcp_portmon 32768 61000 rservice 14} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 15} ${alignr} ${tcp_portmon 32768 61000 rservice 15} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 16} ${alignr} ${tcp_portmon 32768 61000 rservice 16} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 17} ${alignr} ${tcp_portmon 32768 61000 rservice 17} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 18} ${alignr} ${tcp_portmon 32768 61000 rservice 18} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 19} ${alignr} ${tcp_portmon 32768 61000 rservice 19} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 20} ${alignr} ${tcp_portmon 32768 61000 rservice 20} | |
${color 0B610B} ${tcp_portmon 32768 61000 rhost 21} ${alignr} ${tcp_portmon 32768 61000 rservice 21} | |
#${color 0B610B}Core 0: ${hr 2}$color | |
Core 1 Freq: ${freq 1}MHz | |
${cpugraph cpu1 000000 ffffff} | |
${cpubar cpu1 10,300} | |
#${color green}Core 1: ${hr 2}$color | |
Core 2 Freq: ${freq 2}MHz | |
${cpubar cpu2 10,70} | |
${cpugraph cpu2 000000 ffffff} | |
#${color green}Core 2: ${hr 2}$color | |
Core 3 Freq: ${freq 3}MHz | |
${cpubar cpu3 10,70} | |
${cpugraph cpu3 000000 ffffff} | |
#${color green}Core 3: ${hr 2}$color | |
Core 4 Freq: ${freq 4}MHz | |
${cpubar cpu4 10,70} | |
${cpugraph cpu4 000000 ffffff} | |
This file contains 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 | |
# RSS Display Script by Bill Woodford ([email protected]) v1.0 | |
# | |
# This script is designed to output story titles for most any RSS Feed. | |
# | |
# This script depends on curl. Please ensure it is installed and in your $PATH | |
# Gentoo: emerge -av net-misc/curl | |
# Debian: apt-get install curl | |
# Homepage: http://curl.haxx.se/ | |
# | |
# Usage: | |
# .conkyrc: ${execi [time] /path/to/script/conky-rss.sh URI LINES TITLENUM} | |
# URI = Location of feed, ex. http://www.gentoo.org/rdf/en/glsa-index.rdf | |
# LINES = How many titles to display (default 5) | |
# TITLENUM = How many times the title of the feed itself is specified, usually 1 or 2 (default 2) | |
# | |
# Usage Example | |
# ${execi 300 /home/youruser/scripts/conky-rss.sh http://www.foxnews.com/xmlfeed/rss/0,4313,1,00.rss 4 2} | |
#RSS Setup - Don't change unless you want these values hard-coded! | |
uri=$1 #URI of RSS Feed | |
lines=$2 #Number of headlines | |
titlenum=$3 #Number of extra titles | |
#Script start | |
#Require a uri, as a minimum | |
if [[ "$uri" == "" ]]; then | |
echo "No URI specified, cannot continue!" >&2 | |
echo "Please read script for more information" >&2 | |
else | |
#Set defaults if none specified | |
if [[ $lines == "" ]]; then lines=5 ; fi | |
if [[ $titlenum == "" ]]; then titlenum=2 ; fi | |
#The actual work | |
curl -s --connect-timeout 30 $uri |\ | |
sed -e 's/<\/title>/\n/g' |\ | |
grep -o '<title>.*' |\ | |
sed -e 's/<title>//' |\ | |
head -n $(($lines + $titlenum)) |\ | |
tail -n $(($lines)) | |
fi |
This file contains 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 | |
sleep 20 && conky -c ~/.conky/.conkyrc1 & | |
sleep 20 && conky -c ~/.conky/.conkyrc2 & | |
sleep 20 && conky -c ~/.conky/.conkyrc3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nvm