# conky system monitor configuration for wminfo dockable application
# (C) 2011-2015 Cezary M. Kruk <c.kruk@bigfoot.com>

#
# Change HOME below to your home directory name
#

overwrite_file HOME/.wminfo/conky.tmp
temperature_unit celsius

out_to_x no
background no
cpu_avg_samples 2
net_avg_samples 2
no_buffers yes
out_to_stderr no
update_interval 3.0
uppercase no
use_spacer none
out_to_console no
extra_newline no
short_units

TEXT

DATE: ${time %H:%M:%S }
DATE: ${time %A}
DATE: ${time %b  %d}
DATE: ${time week %W}
DATE: ${time year %Y}

#THINKPAD: $battery_short $battery_time
#THINKPAD: ${if_existing /sys/class/power_supply/BAT0/uevent}$battery_bar${else}..........${endif}
#THINKPAD: CPU: ${ibm_temps 0}
## UNPATCHED CONKY (0 to 7 SENSORS)   #THINKPAD: ${if_match "${ibm_temps 3}" == "-128"}HDD: ${ibm_temps 2}${else}${if_match "${ibm_temps 3}" == "-198"}HDD: ${ibm_temps 2}${else}GPU: ${ibm_temps 3}${endif}${endif}
## PATCHED CONKY   (0 to 10 SENSORS)  #THINKPAD: ${if_match "${ibm_temps 3}" == "-128"}GPU: ${ibm_temps 8}${else}${if_match "${ibm_temps 3}" == "-198"}GPU: ${ibm_temps 8}${else}GPU: ${ibm_temps 3}${endif}${endif}
#THINKPAD: FAN: $ibm_fan

#FUJITSU: ${battery_short CMB1}${battery_time CMB1}
#FUJITSU: ${if_existing /sys/class/power_supply/CMB1/uevent}${battery_bar CMB1}${else}..........${endif}
#FUJITSU: $acpitemp

SYSMON: CPU: $cpu%
SYSMON: $cpubar
SYSMON: FRQ: $freq_g
SYSMON: MEM: $memperc%
SYSMON: SWP: $swapperc%
## SYSMON: AVG: ${loadavg 1}
## SYSMON: THR: $running_threads
## SYSMON: PRC: $running_processes
## SYSMON: IOR: ${diskio_read sda}
## SYSMON: IOW: ${diskio_write sda}
## SYSMON: DIO: ${diskio sda}

## SYSMON-PLUS: CPU: $cpu%
## SYSMON-PLUS: $cpubar
## SYSMON-PLUS: FRQ: $freq_g
## SYSMON-PLUS: MEM: $memperc%
## SYSMON-PLUS: SWP: $swapperc%
SYSMON-PLUS: AVG: ${loadavg 1}
SYSMON-PLUS: THR: $running_threads
SYSMON-PLUS: PRC: $running_processes
SYSMON-PLUS: IOR: ${diskio_read sda}
SYSMON-PLUS: IOW: ${diskio_write sda}
## SYSMON-PLUS: DIO: ${diskio sda}

MEMORY: MEM $mem
MEMORY: $membar
MEMORY: FRE $memfree
MEMORY: BUF $buffers
MEMORY: CHD $cached

SWAP: SWP $swapperc%
SWAP: $swapbar
SWAP: MAX $swapmax
SWAP: USD $swap
SWAP: FRE $swapfree

FILESYSTEM1: ${fs_type /root}
## FILESYSTEM1: SIZ ${fs_size /root}
FILESYSTEM1: USE ${fs_used /root}
FILESYSTEM1: ${fs_used_perc /root}%
FILESYSTEM1: FRE ${fs_free /root}
FILESYSTEM1: ${fs_free_perc /root}%

ENTROPY: ENTROPY
ENTROPY: SIZ: $entropy_poolsize
ENTROPY: AVL: $entropy_avail
ENTROPY: $entropy_perc%
ENTROPY: $entropy_bar

TOP: ${top cpu 1} ${top name 1}
TOP: ${top cpu 2} ${top name 2}
TOP: ${top cpu 3} ${top name 3}
TOP: ${top cpu 4} ${top name 4}
TOP: ${top cpu 5} ${top name 5}

TOPMEM: ${top_mem mem 1} ${top_mem name 1}
TOPMEM: ${top_mem mem 2} ${top_mem name 2}
TOPMEM: ${top_mem mem 3} ${top_mem name 3}
TOPMEM: ${top_mem mem 4} ${top_mem name 4}
TOPMEM: ${top_mem mem 5} ${top_mem name 5}

TOPTIME: ${top_time time 1} ${top_time name 1}
TOPTIME: ${top_time time 2} ${top_time name 2}
TOPTIME: ${top_time time 3} ${top_time name 3}
TOPTIME: ${top_time time 4} ${top_time name 4}
TOPTIME: ${top_time time 5} ${top_time name 5}

UPTIME: UPT: $uptime_short
UPTIME: USR: $user_number
UPTIME: 01M: ${loadavg 1}
UPTIME: 05M: ${loadavg 2}
UPTIME: 15M: ${loadavg 3}

DISKMON: SDA
DISKMON: ${ioscheduler sda}/${disk_protect sda}
DISKMON: IO: ${diskio sda}
DISKMON: RD: ${diskio_read sda}
DISKMON: WR: ${diskio_write sda}

#
# If necessary change eth0 and wlan0 below to eth1 and wlan1
#

NETMON: LO   ${downspeed lo}
NETMON: ETHD ${downspeed eth0}
NETMON: ETHU ${upspeed eth0}
NETMON: WLND ${downspeed wlan0}
NETMON: WLNU ${upspeed wlan0}

#
# If necessary change wlan0 below to wlan1, eth0, or eth1
#

WIRELESS: ${wireless_essid wlan0}
WIRELESS: ${wireless_ap wlan0}
WIRELESS: ${wireless_link_bar wlan0}
WIRELESS: ${wireless_bitrate wlan0}
WIRELESS: ${wireless_mode wlan0}

#
# Replace KNYC, EPWR, and YSSY below with the ICAO codes of the selected stations
# see: http://weather.noaa.gov/
#

WEATHER: KNYC ; \
TME="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC last_update 30}" ; \
TMP="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC temperature 30}" ; \
WTH="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC weather 30}" ; \
SKY="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC cloud_cover 30}" ; \
PRS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC pressure 30}" ; \
HUM="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC humidity 30}" ; \
WDS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC wind_speed 30}" ; \
WDD="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KNYC wind_dir 30}"

WEATHER: EPWR ; \
TME="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR last_update 30}" ; \
TMP="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR temperature 30}" ; \
WTH="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR weather 30}" ; \
SKY="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR cloud_cover 30}" ; \
PRS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR pressure 30}" ; \
HUM="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR humidity 30}" ; \
WDS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR wind_speed 30}" ; \
WDD="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPWR wind_dir 30}"

WEATHER: YSSY ; \
TME="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY last_update 30}" ; \
TMP="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY temperature 30}" ; \
WTH="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY weather 30}" ; \
SKY="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY cloud_cover 30}" ; \
PRS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY pressure 30}" ; \
HUM="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY humidity 30}" ; \
WDS="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY wind_speed 30}" ; \
WDD="${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ YSSY wind_dir 30}"

#
# Replace the location codes below with the desirable values
# see: http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/WeatherLocationDatabase.txt
#

FORECAST: ${texeci 60 forecast "10007" today}
FORECAST: ${texeci 60 forecast "10007" tomorrow}
## FORECAST: ${texeci 60 forecast "AFR|GH|GH000|ACCRA" today}
## FORECAST: ${texeci 60 forecast "AFR|GH|GH000|ACCRA" tomorrow}
FORECAST: ${texeci 60 forecast "EUR|PL|PL001|WROCLAW" today}
FORECAST: ${texeci 60 forecast "EUR|PL|PL001|WROCLAW" tomorrow}
## FORECAST: ${texeci 60 forecast "ASI|RU|RS052|MOSCOW" today}
## FORECAST: ${texeci 60 forecast "ASI|RU|RS052|MOSCOW" tomorrow}
## FORECAST: ${texeci 60 forecast "ASI|IN|IN036|KOLKATA" today}
## FORECAST: ${texeci 60 forecast "ASI|IN|IN036|KOLKATA" tomorrow}
FORECAST: ${texeci 60 forecast "OCN|AU|NSW|SYDNEY" today}
FORECAST: ${texeci 60 forecast "OCN|AU|NSW|SYDNEY" tomorrow}

#
# Select or set below the time zones you are interested in
#

## TIMEZONE: NU ${tztime Pacific/Niue %H:%M %m-%d}
## TIMEZONE: HI ${tztime Pacific/Honolulu %H:%M %m-%d}
## TIMEZONE: PF ${tztime Pacific/Gambier %H:%M %m-%d}
## TIMEZONE: AK ${tztime America/Anchorage %H:%M %m-%d}
## TIMEZONE: CA ${tztime America/Los_Angeles %H:%M %m-%d}
## TIMEZONE: GT ${tztime America/Guatemala %H:%M %m-%d}
## TIMEZONE: MX ${tztime America/Mexico_City %H:%M %m-%d}
TIMEZONE: NY ${tztime America/New_York %H:%M %m-%d}
## TIMEZONE: BR ${tztime America/Manaus %H:%M %m-%d}
## TIMEZONE: AR ${tztime America/Buenos_Aires %H:%M %m-%d}
## TIMEZONE: GS ${tztime Atlantic/South_Georgia %H:%M %m-%d}
## TIMEZONE: CV ${tztime Atlantic/Cape_Verde %H:%M %m-%d}
## TIMEZONE: AZ ${tztime Atlantic/Azores %H:%M %m-%d}
TIMEZONE: GH ${tztime Africa/Accra %H:%M %m-%d}
## TIMEZONE: GB ${tztime Europe/London %H:%M %m-%d}
## TIMEZONE: FR ${tztime Europe/Paris %H:%M %m-%d}
## TIMEZONE: PL ${tztime Europe/Warsaw %H:%M %m-%d}
## TIMEZONE: GR ${tztime Europe/Athens %H:%M %m-%d}
TIMEZONE: RU ${tztime Europe/Moscow %H:%M %m-%d}
## TIMEZONE: IQ ${tztime Asia/Baghdad %H:%M %m-%d}
## TIMEZONE: OM ${tztime Asia/Muscat %H:%M %m-%d}
## TIMEZONE: PK ${tztime Asia/Karachi %H:%M %m-%d}
TIMEZONE: IN ${tztime Asia/Kolkata %H:%M %m-%d}
## TIMEZONE: NP ${tztime Asia/Kathmandu %H:%M %m-%d}
## TIMEZONE: KZ ${tztime Asia/Almaty %H:%M %m-%d}
## TIMEZONE: TH ${tztime Asia/Bangkok %H:%M %m-%d}
## TIMEZONE: HK ${tztime Asia/Hong_Kong %H:%M %m-%d}
## TIMEZONE: JP ${tztime Asia/Tokyo %H:%M %m-%d}
TIMEZONE: AU ${tztime Australia/Sydney %H:%M %m-%d}
## TIMEZONE: PG ${tztime Pacific/Port_Moresby %H:%M %m-%d}
## TIMEZONE: NC ${tztime Pacific/Noumea %H:%M %m-%d}
## TIMEZONE: KM ${tztime Asia/Kamchatka %H:%M %m-%d}
## TIMEZONE: NZ ${tztime Pacific/Auckland %H:%M %m-%d}
## TIMEZONE: WS ${tztime Pacific/Apia %H:%M %m-%d}
## TIMEZONE: KI ${tztime Pacific/Kiritimati %H:%M %m-%d}

## MIXER: VOL: $ibm_volume
#MIXER: MIX: $mixer%
#MIXER: $mixerbar
#MIXER: L: $mixerl%
#MIXER: R: $mixerl%

#
# Before allowing conky to monitor audacious read the BUGS file
#

#AUDACIOUS: $audacious_status
#AUDACIOUS: ${audacious_title 1024}
#AUDACIOUS: $audacious_bar
#AUDACIOUS: $audacious_position
#AUDACIOUS: $audacious_bitrate

#
# Before allowing conky to monitor xmms2 read the BUGS file
#

#XMMS2: $xmms2_artist
#XMMS2: $xmms2_album
#XMMS2: $xmms2_title
#XMMS2: $xmms2_elapsed
#XMMS2: $xmms2_bitrate kb/s

#
# Before allowing conky to monitor mpd read the BUGS file
#

#MPD: $mpd_artist
#MPD: $mpd_album
#MPD: $mpd_title
#MPD: $mpd_elapsed
#MPD: $mpd_bitrate kb/s

#
# Before allowing conky to monitor moc read the BUGS file
#

#MOC: $moc_artist
#MOC: $moc_album
#MOC: $moc_song
#MOC: $moc_curtime
#MOC: $moc_bitrate

MULTI-SYSTEM1: CPU $cpu%
MULTI-SYSTEM1: $cpubar
MULTI-SYSTEM1: THR $running_threads
MULTI-SYSTEM1: PRC $processes
MULTI-SYSTEM1: RUN $running_processes
###
MULTI-SYSTEM1: MEM $mem
MULTI-SYSTEM1: $membar
MULTI-SYSTEM1: FRE $memfree
MULTI-SYSTEM1: BUF $buffers
MULTI-SYSTEM1: CHD $cached
###
MULTI-SYSTEM1: SWP $swapperc%
MULTI-SYSTEM1: $swapbar
MULTI-SYSTEM1: MAX $swapmax
MULTI-SYSTEM1: USD $swap
MULTI-SYSTEM1: FRE $swapfree
###
MULTI-SYSTEM1: $uptime_short
MULTI-SYSTEM1: USR $user_number
MULTI-SYSTEM1: 01M ${loadavg 1}
MULTI-SYSTEM1: 05M ${loadavg 2}
MULTI-SYSTEM1: 15M ${loadavg 3}

MULTI-SYSTEM2: CPU: $cpu%
MULTI-SYSTEM2: $cpubar
MULTI-SYSTEM2: MEM: $memperc%
MULTI-SYSTEM2: SWP: $swapperc%
MULTI-SYSTEM2: DSK: ${diskio sda}
###
MULTI-SYSTEM2: ${top cpu 1} ${top name 1}
MULTI-SYSTEM2: ${top cpu 2} ${top name 2}
MULTI-SYSTEM2: ${top cpu 3} ${top name 3}
MULTI-SYSTEM2: ${top cpu 4} ${top name 4}
MULTI-SYSTEM2: ${top cpu 5} ${top name 5}

MULTI-TIME: ${time %H:%M    }
MULTI-TIME: ${time %A}
MULTI-TIME: ${time %b  %d}
MULTI-TIME: ${time week %V}
MULTI-TIME: ${time year %Y}
###
MULTI-TIME: NY ${tztime America/New_York %H:%M %m-%d}
MULTI-TIME: GH ${tztime Africa/Accra %H:%M %m-%d}
MULTI-TIME: RU ${tztime Europe/Moscow %H:%M %m-%d}
MULTI-TIME: IN ${tztime Asia/Kolkata %H:%M %m-%d}
MULTI-TIME: AU ${tztime Australia/Sydney %H:%M %m-%d}

