Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- #@file: ~/.conkyrc
- #@description: Custom Conky configuration
- #@author: jor teron <jor.teron@gmail.com>
- #@date: 2014 July 30th - 2016 March 12th
- #@version: 1.7
- #load lua script
- lua_load /home/pi/conky.lua
- lua_draw_hook conky_main()
- alignment top_right
- background yes
- border_width 1
- cpu_avg_samples 5
- default_color black
- #default_graph_size 0 25
- default_outline_color white
- default_shade_color white
- draw_borders yes
- draw_graph_borders no
- draw_outline no
- draw_shades no
- use_xft yes
- xftfont DejaVu Sans Mono:size=10
- gap_x 15
- gap_y 40
- if_up_strictness address
- loadavg 1
- minimum_size 5 5
- net_avg_samples 2
- no_buffers yes
- out_to_console no
- out_to_stderr no
- extra_newline no
- own_window yes
- #own_window_argb_value 0-255
- own_window_class Conky
- #own_window_colour #333333
- #own_window_hints sticky, undecorated, skip_taskbar
- own_window_hints undecorated, skip_taskbar
- own_window_title SysInfo
- own_window_transparent yes
- own_window_type window
- #out_to_console yes
- stippled_borders 0
- update_interval 10.0
- update_interval_on_battery 60.0
- uppercase no
- use_spacer none
- #show_graph_scale no
- #show_graph_range no
- stippled_borders no
- temperature_unit celsius
- # red, green, yellow, blue, magenta, cyan, black, white.
- #colr=red
- TEXT
- #${image ~/Pictures/white.png }
- #${scroll 35 5 $nodename - $sysname $kernel on $machine}
- #$alignc ${font ubuntu 48} ${time %I:%M:%S } ${font ubuntu} ${time %p}
- ${alignc}${font Ubuntu:size=32}${color black}${time %l:%M}${font}${time %p}
- ${alignc}${font Ubuntu:size=16}${time %A}
- ${alignc}${font Ubuntu:size=12}${time %d %B %Y}
- #$alignc $nodename | $sysname
- $color $hr $font
- ${color #111111}Uptime:$color $uptime_short
- ${color #111111}CPU:$color ${cpu cpu1}% ${cpubar cpu0}
- ${color #111111} $color ${cpu cpu1}% | ${cpu cpu2}% | ${cpu cpu3}%
- ${color #111111}RAM:$color ${memperc}% ${membar 6}
- # ${color #111111}CPU Temp:$color ${execi 30 sensors | grep -i 'CPU Temp' | awk '{print $3}' | cut -c2-3 }${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
- # ${color #111111}HDD Temp:$color ${execi 30 udisks --show-info /dev/sda | grep temp | awk '{print $6}' | sed 's/C//' | sed '1 d' }${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
- ${color #111111}HDD:$color ${fs_bar 6 /}
- # ${color #111111}RAM: $color $mem/$memmax - $memperc% ${membar 4}
- #${cpugauge cpu0 50, 100} ${memgauge 50, 100}
- # CPU RAM
- ${color green}${cpugraph #9ACD32 #FF0000 5 -t } $color
- #${execi 15 curl http://www.accuweather.com/en/in/diphu/186922/weather-forecast/186922 | grep '<div class="info">' | grep -o [0-9] | sed '/.*[^\.]$/N;s/\n *//' 10 }
- #$hr
- #${blink jor teron}
- $hr
- $alignc${font ubuntu 48}${color black}Networking $font
- APN:${tab}${tab}${wireless_essid wlan0}
- Mode:${tab}${tab}${wireless_mode wlan0}
- ${if_up eth0}
- ${color #111111}IP: $color${addr eth0}
- ${color #111111}Down: $color${downspeed eth0}
- ${color #111111}Up: $color${upspeed eth0}
- ${color #111111}Download: $color${totaldown eth0}
- ${color #111111}Upload: $color${totalup eth0}
- ${downspeedgraph eth0} ${upspeedgraph eth0}
- ${else}${if_up usb0}
- ${color #111111}Type:$color usb0
- ${color #111111}IP: $color${addr usb0}
- ${color #111111}Down: $color${downspeed usb0}
- ${color #111111}Up: $color${upspeed usb0}
- ${color #111111}Download: $color${totaldown usb0}
- ${color #111111}Upload: $color${totalup usb0}
- ${downspeedgraph usb0} ${upspeedgraph usb0}
- ${else}${if_up ppp0}
- ${color #111111}Type: $color ppp0
- ${color #111111}IP: $color${addr ppp0}
- ${color #111111}Down: $color${downspeed ppp0}
- ${color #111111}Up: $color${upspeed ppp0}
- ${color #111111}Download: $color${totaldown ppp0}
- ${color #111111}Upload: $color${totalup ppp0}
- ${downspeedgraph ppp0} ${upspeedgraph ppp0}
- ${else}${if_up wlan0}
- ${color #111111}Type: $color wlan0
- ${color #111111}MAC addr: ${wireless_ap wlan0}
- ${color #111111}IP: $color${addr wlan0}
- ${color #111111}Down: $color${downspeed wlan0}
- ${color #111111}Up: $color${upspeed wlan0}
- ${color #111111}Download: $color${totaldown wlan0}
- ${color #111111}Upload: $color${totalup wlan0}
- ${downspeedgraph wlan0} ${upspeedgraph wlan0}
- ${else}${if_up wlxe84e0624e2a4}
- ${color #111111}Type: $color wlxe84e0624e2a4
- ${color #111111}MAC addr: ${wireless_ap wlxe84e0624e2a4}
- ${color #111111}IP: $color${addr wlxe84e0624e2a4}
- ${color #111111}Down: $color${downspeed wlxe84e0624e2a4}
- ${color #111111}Up: $color${upspeed wlxe84e0624e2a4}
- ${color #111111}Download: $color${totaldown wlxe84e0624e2a4}
- ${color #111111}Upload: $color${totalup wlxe84e0624e2a4}
- ${downspeedgraph wlxe84e0624e2a4} ${upspeedgraph wlxe84e0624e2a4}
- ${else}
- ${color #444444}No Actice Network...
- ..Connection... $color
- ${endif}
- $hr
- #${voltage cpu1}
- #${top cpu 1)
- ${if_match $laptop_mode == 1 }
- $alignc${font ubuntu 48}${color #000000}Battery $font
- Bat: $battery - $battery_percent %
- Min: $battery_time min
- # $apcupsd_cable , $apcupsd_charge , $apcupsd_lastxfer , $apcupsd_linev , $apcupsd_load , $apcupsd_loadbar , $ apcupsd_model , $apcupsd_status , $apcupsd_temp , $apcuwhat ispsd_timeleft , $apcupsd_upsmode ,
- #${else}
- # ${color #dddddd}No Internal Battery... $color
- ${endif}
- #${freq_g 1} GHz, ${freq_g 2} GHz, ${freq_g 3} GHz, ${freq_g 4} GHz .
- #weather URI locID data_type (interval_in_minutes)
- #${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ locID data_type 15 }
- #$hr
- #${adt746xcpu} - ${adt746xfan}
- #${read_tcp localhost 80}
- #${execi 60 fortune}
- #$desktop_name
- #${acpiacadapter atk0110-acpi-0}
- #$adt746xcpu
- #${apcupsd_temp cpu0}
- #$acpitemp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement