Code:
--##################################################
--## VinDSL | rev 16-09-06 23:35 | ver 1.10.1-P7 ##
--##################################################
--## August 2016 Series ##
--##################################################
--## ¡PLEASE READ THE FINE PRINT! ##
--####
--## Development Platforms (current)
--#
--# Peppermint Linux OS Seven (GNOME 3.18 - Conky 1.10.x)
--# Ubuntu 16.10 'Yakkety Yak' (GNOME-SHELL - UNITY - Conky 1.10.x)
--# Screen Resolution: 1280x1024x24 (DELL UltraSharp 1907FP)
--#
--## Tips n' Tricks: Conky 1.8.x - 1.9.x will no longer be supported. RIP :)
--####
--## Prerequisites (required)
--#
--# conky-all 1.10.x
--# Conkywx 5.0.0-x (Paramvir Likhari)
--# UTF-8 Compatible Text Editor
--# mesa-utils - Basic GL Utilities
--## DBus toolsets (required for experimental music players below)
--## Install one PAIR or the other PAIR (but NOT both pair) depending on your distro,
--## Examples from Ubuntu PPA - package names are in ('parenthesis'):
--#
--# Qt 4 D-Bus tool ('qdbus') & Qt 4 development tools ('qt4-dev-tools')
--# Qt 5 D-Bus tool ('qdbus-qt5') & Qt 5 base development programs ('qtbase5-dev-tools')
--####
--## Installed fonts (required)
--#
--# Arrows (JLH Fonts - not included in link below)
--# ConkyWeather (Stanko Metodiev)
--# Cut Outs for 3D FX (Fonts & Things)
--# Droid Font Family (Google Android SDK)
--# KR A Round (Kat's Fun Fonts)
--# Moon Phases (Curtis Clark)
--# OpenLogos (Icoma)
--# PizzaDude Bullets (Jakob Fischer)
--# Radio Space (Iconian Fonts)
--# StyleBats (Vinterstille)
--# Ubuntu Font Family (Canonical Ltd)
--# Ubuntu Title Bold (Paulo Silva - not included in link below)
--# Weather (Jonathan Macagba)
--#
--## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
--## Most of the necessary fonts can be downloaded here: http://goo.gl/QPBcPm
--## Unzip the fonts into your font folder, for example: /home/username/.fonts
--## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
conky.config = {
--####
--## Use XFT? Required to Force UTF8 (see below)
--#
use_xft = true,
font = 'DroidSansFallback:size=9.55',
xftalpha = 0.1,
--####
--## Force UTF8? Requires XFT (see above)
--## Displays degree symbol, instead of °, etc.
--#
override_utf8_locale = true,
--####
--## This buffer is used for single lines, text, output from $exec, and other variables.
--## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
--## Decreasing the buffer size (too low) will truncate content and cause strange display output.
--## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
--## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
--#
text_buffer_size = 4352,
--####
--## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
--## Tips n' Tricks from: sparker256 (Thanks, Bill!)
--## (Currently not working in Conky 1.10.x - Disabled)
--#
--max_specials 600,
--####
--## Maximum size of user text buffer, e.g. for layout below TEXT line (default is 16384)
--## Increase this, as needed, to accommodate large config files with a great deal of text.
--## Tips n' Tricks from: Cavsfan
--#
max_user_text = 32768,
--####
--## Daemonize Conky, aka 'fork to background'.
--#
background = true,
--####
--## Update interval in seconds.
--#
update_interval = 2.0,
--####
--## The number of times Conky will update before quitting.
--## Zero makes Conky run forever.
--#
total_run_times = 0,
--####
--## Create 'own_window' type. Makes Conky behave like other panels.
--#
own_window = true,
own_window_transparent = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
--####
--## Some distros require the following lines for TRUE transparency.
--## BOTH of these lines need to be Commented/Uncommented in tandem.
--## (Currently not working in Conky 1.10.x - Disabled)
--#
--own_window_argb_visual = true,
--own_window_argb_value = 255,
--####
--## Don't want TRUE transparency? (icons look janky on certain walls)
--## Comment BOTH of the lines above and Uncomment the line below.
--## (Currently not working in Conky 1.10.x - Disabled)
--#
--# own_window_argb_visual = false,
--####
--## Force images to redraw when they change.
--#
imlib_cache_size = 1,
--####
--## Use double buffering? Reduces flicker.
--#
double_buffer = true,
--####
--## Draw shades?
--#
draw_shades = false,
default_shade_color = '333300',
--# default_shade_color = '3c3c3c',
--# default_shade_color = '494949',
--# default_shade_color = '565656',
--# default_shade_color = '626262',
--####
--## Draw outlines?
--#
draw_outline = false,
--####
--## Draw borders around text?
--#
draw_borders = false,
--####
--## Draw borders around graphs?
--#
draw_graph_borders = false,
--####
--## Print text to stdout?
--## Print text in console?
--#
out_to_ncurses = false,
out_to_console = false,
--####
--## Text alignment.
--#
alignment = 'top_right',
--####
--## Minimum size of the text area.
--#
minimum_width = 245,
minimum_height = 1394,
--####
--## Maximum width of the text area.
--#
maximum_width = 245,
--####
--## Gap between text and screen borders.
--#
gap_x = 6, --# Left/Right
gap_y = 32, --# Top/Bottom
--####
--## Shorten MiB/GiB to M/G in stats.
--#
short_units = true,
--####
--## Pad % symbol spacing after numbers.
--#
pad_percents = 0,
--####
--## Pad spacing between text and borders.
--#
border_inner_margin = 4,
--####
--## Limit the length of names in "Top Processes".
--#
top_name_width = 10,
--####
--## Subtract file system -/+buffers/cache from used memory?
--## Set to true, to produce meaningful physical memory stats.
--#
no_buffers = true,
--####
--## Set to true, if you want all text to be in UPPERCASE.
--#
uppercase = false,
--####
--## Number of cpu samples to average.
--## Set to 1 to disable averaging.
--#
cpu_avg_samples = 2,
--####
--## Number of net samples to average.
--## Set to 1 to disable averaging.
--#
net_avg_samples = 2,
--####
--## Add spaces to keep things from moving around?
--## Only affects certain objects.
--#
use_spacer = 'right',
--####
--## My colors (suit yourself)
--#
color0 = 'white', --#FFFFFF
color1 = 'ivory', --#FFFFF0
color2 = 'ivory2', --#EEEEE0
color3 = 'ivory3', --#CDCDC1
color4 = 'ffcc66', --#FFCC66
color5 = 'ivory3', --#CDCDC1
color6 = 'gray', --#BEBEBE
color7 = 'antiquewhite4', --#8B8378
color8 = 'dimgray', --#696969
color9 = 'tomato', --#FF6347
--#####
--## Load Lua for shading (optional)
--## Set the path to your script here.
--## (Currently not working in Conky 1.10.x - Disabled)
--#
-- lua_load = '~/.conky/draw_bg.lua',
-- lua_draw_hook_pre = 'draw_bg',
--####
--## Load Lua for bargraphs (required)
--## Set the path to your script here.
--#
lua_load = '~/.conky/bargraph_small.lua',
lua_draw_hook_post = 'main_bars',
--####
--## Define the locations of Conkywx files (required)
--## Set the path to your .confs and templates here.
--#
template0 = '/usr/share/conkywx/conkywx.sh',
template1 = '/home/vindsl/.config/conkywx/vindsl-imperial-conkywx.conf',
template2 = '/home/vindsl/.config/conkywx/vindsl-metric-conkywx.conf',
template3 = '/home/vindsl/.config/conkywx/wx-wu-vindsl-imperial-weather-dingbat-template.sh',
template4 = '/home/vindsl/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh',
template5 = '/home/vindsl/.config/conkywx/wx-wu-vindsl-metric-weather-dingbat-template.sh',
template6 = '/home/vindsl/.config/conkywx/wx-wu-vindsl-metric-weather-graphic-template.sh',
--##
--## Tips n' Tricks: type 'route' in CLI and check for interface names in the 'Iface' column .
--## Define the Wireless interface here - wlan0, wlan1, etc. (required)
--##
template7 = 'wlan0',
--##
--## Define the Wired interface name here - eth0, eth1, etc. (required)
--#
template8 = 'eno1'
} --end conky.config
conky.text = [[
##################################
## LOGO ##
##################################
## Uncomment for hard-coded ID (static)
# ${offset -3}${voffset -34}${font OpenLogos:size=106}${color2}v${font}${voffset -78}${goto 180}${font UbuntuTitleBold:size=19.55}${color2}${offset 4}1${offset 2}6${offset 1}.${offset 0}1${offset 1}0${font}
####
## Uncomment for soft-coded ID (dynamic)
# ${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}${execpi 1800 cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
## Additional ID (branch version, code name, release date, etc.)
# ${voffset 0}${goto 185}${font Ubuntu-B:bold:size=7.55}${color5}${execpi 1800 conky --version | sed -n 1p | cut -b1-13}${font}
# ${voffset 0}${goto 182}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
# ${voffset 0}${goto 182}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
####
## Uncomment to display YOUR custom graphic image (upper-right corner)
# ${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/vindsl/Pictures/BDC/Avatar(Transparent-50)55x55.png -p 180,0 -s 52x52 -n}
${voffset -1}${image /home/vindsl/.conky/logos/peppermint_logo_small_4.png -n}${voffset 18}${goto 45}${font Ubuntu-B:bold:size=7.55}${color5}${font Ubuntu-B:bold:size=7.55}${color5}Conkywx ${execpi 1800 conkywx -v}${goto 180}Conky ${conky_version}${font}${voffset -5}
##################################
## SYSTEM ##
##################################
${voffset 4}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}${execpi 1800 lsb_release -sd | sed -e 's/Ubuntu/Ubuntu/g' -e 's/development/dev/g'}${alignr}${execpi 1800 lsb_release -sr}${font}
# ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.55}${color3}${offset 5}${execpi 1800 lsb_release -sd}${alignr}32 Bit${font}
${voffset 0}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.55}${color3}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
####
## Uncomment for nVidia ID (nvidia-smi version - dynamic)
# ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}${execpi 1800 nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${execpi 1800 nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
####
## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
# ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${execpi 1800 dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
####
## Uncomment for nvidia driver ID (OpenGL version - hydrid)
# ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}nVidia GeForce 7600 GT${offset 3}(${offset 2}${execpi 2 nvidia-settings -q gpucoretemp -t --verbose=none | awk '{s+=$1}END{print s/NR}' RS=" "}°${offset 1})${alignr}${font DroidSans:size=8.3}${execpi 1800 glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-20'}${font}
## Uncomment when running Nouveau drivers
# ${voffset 1}${font StyleBats:size=10}${color2}d${voffset -1}${font DroidSans:size=8.55}${color3}${offset 5}nVidia GeForce GT 710${voffset -2}${alignr}nouveau${font}
## Uncomment when running nVidia drivers with GPU temp
${voffset 1}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}nVidia GeForce GT 710${offset 3}(${offset 2}${execpi 2 nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits}°${offset 1})${alignr}${font DroidSans:size=8.3}${execpi 1800 nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
####
## Uncomment for hard-coded video ID (Nouveau version - static)
# ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}nVidia GeForce 7600 GT${offset 2}${alignr}nouveau${font DroidSans:size=8.3}${font}
####
## Uncomment for hard-coded video ID (Generic version / any card / any driver - static)
# ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}Video Card Product Name${alignr}Driver Version${font DroidSans:size=8.3}${font}
####
## Uncomment for CPU ID / CPU Temp / CPU frequency (hybrid)
# ${voffset 2}${font StyleBats:size=10}${color2}A${voffset 0}${font DroidSans:size=8.55}${color3}${offset 5}Intel${offset 3}P4${offset 3}Extreme${offset 3}Edition${offset 3}(${offset 2}${execpi 2 sensors | grep 'temp1' | cut -c16-17}°${offset 1})${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
## Uncomment for CPU ID / CPU Temp / CPU frequency (hybrid)
${voffset 1}${font StyleBats:size=10}${color2}A${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}Intel${offset 3}Core${offset 3}i5-3470${offset 4}(${offset 2}${execpi 2 sensors | grep 'Core 0' | sed -n 1p | cut -b18-19}°${voffset -1}${offset 1})${alignr -3}${font DroidSans:size=8.3}${freq_g cpu0}${voffset -1}${offset 2}GHz${font}
####
## Uncomment for System Uptime (hybdid)
${voffset 2}${font StyleBats:size=10}${color2}q${voffset -2}${font DroidSans:size=8.55}${color3}${offset 5}System${offset 3}Uptime${voffset -1}${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
##################################
## PROCESSORS ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 5}${font StyleBats:size=9.9}${color2}k${voffset -1}${font DroidSansFallback:size=8}${color3}${offset 2}CPU1${offset 5}${font DroidSans:size=8}${cpu cpu0}%${font DroidSansFallback:size=8}${goto 137}${voffset -1}CPU2${offset 5}${font DroidSans:size=8}${cpu cpu1}%${font}
${voffset 1}${font StyleBats:size=9.9}${color2}k${voffset -1}${font DroidSansFallback:size=8}${color3}${offset 2}CPU3${offset 5}${font DroidSans:size=8}${cpu cpu2}%${font DroidSansFallback:size=8}${goto 137}${voffset -1}CPU4${offset 5}${font DroidSans:size=8}${cpu cpu3}%${font}
##################################
## MEMORY ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 6}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8}${color3}${offset 3}RAM${goto 97}${font DroidSans:size=8.2}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
##################################
## HDD ##
##################################
${voffset 14}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8}${color3}${offset 4}ROOT${goto 95}${font DroidSans:size=8.2}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
${voffset 16}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8}${color3}${offset 4}HOME${goto 95}${font DroidSans:size=8.2}${fs_used /home}${goto 133}/${offset 5}${fs_size /home}${alignr}${fs_free_perc /home}%${font}
${voffset 16}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8}${color3}${offset 4}SWAP${goto 95}${font DroidSans:size=8.2}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
##################################
## TOP PROCESSES ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 1}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 2}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 3}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
# ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 4}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
# ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 5}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
# ${voffset 0}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSansFallback:size=8.65}${color3}${offset 2}${top_mem name 6}${goto 120}${font DroidSans:size=8.2}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
##################################
## NETWORK - AUTO DETECTION ##
##################################
## WIRELESS/WIFI SECTION ##
${if_existing /proc/net/route ${template7}}
${voffset -11}${font DroidSans:bold:size=8}${color4}WIFI NET${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown ${template7}}${alignr}${font DroidSans:size=8.3}${downspeed ${template7}}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup ${template7}}${alignr}${font DroidSans:size=8.3}${upspeed ${template7}}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr ${template7}}${font}
#
## Uncomment [THIS] to display your Public/WAN URL (WIFI) - via checkip.dyndns.org
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${font DroidSans:size=8.3}${alignr}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}${else}
#
## Uncomment [OR THIS] to obscure your Public/WAN URL (WIFI) - for privacy, screenshots, etc
# ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${font DroidSans:size=8.3}${alignr}Demo Mode${font}${else}
#
## WIRED/ETHERNET SECTION ##
${if_existing /proc/net/route ${template8}}
${voffset -23}${font DroidSans:bold:size=8}${color4}WIRED NET${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${voffset 1}${font DroidSansFallback:size=8.2}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown ${template8}}${alignr}${font DroidSans:size=8.2}${downspeed ${template8}}${font}
${voffset -3}${font PizzaDudeBullets:size=9.5}${color6}N${voffset 1}${font DroidSansFallback:size=8.2}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup ${template8}}${alignr}${font DroidSans:size=8.2}${upspeed ${template8}}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${voffset 1}${font DroidSansFallback:size=8.2}${color3}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.3}LAN${alignr}${font DroidSans:size=8.2}${addr ${template8}}${font}
#
## Uncomment [THIS] to display your Public/WAN URL (WIRED) - via checkip.dyndns.org
# ${voffset -3}${font PizzaDudeBullets:size=9.5}${color6}a${voffset 1}${font DroidSans:size=8.2}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.3}WAN${font DroidSans:size=8.3}${voffset -1}${alignr}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}${else}
#
## Uncomment [OR THIS] to obscure your Public/WAN URL (WIRED) - for privacy, screenshots, etc
${voffset -3}${font PizzaDudeBullets:size=9.5}${color6}a${voffset 1}${font DroidSans:size=8.2}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${font DroidSans:size=8.3}${voffset -1}${alignr}Demo Mode${font}${else}
#
## COMMON DISCONNECTED/OFFLINE SECTION ##
${voffset -22}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 25}${goto 77}${font DroidSans:bold:size=8}NO CONNECTION${voffset 23}${font}${endif}${endif}
##################################
## CONKYWX WEATHER ##
##################################
${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
####
## Uncomment for IMPERIAL Weather Stats (DINGBAT font set).
# ${execpi 900 ${template0} -c "${template1}" -t "${template3}"}${font}
####
## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
####
## Uncomment for METRIC Weather Stats (DINGBAT font set).
# ${execpi 900 ${template0} -c "${template2}" -t "${template5}"}${font}
####
## Uncomment for METRIC Weather Stats (GRAPHIC icon set).
# ${execpi 900 ${template0} -c "${template2}" -t "${template6}"}${font}
##################################
## TIME ##
##################################
${voffset 5}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset -6}${font RadioSpace:size=32}${color3}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
##################################
## CALENDAR ##
##################################
${voffset 3}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color3}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color3}${alignc 60}${time %e}${endif}${endif}${font}
${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
${voffset -2}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
${voffset -78}${font CutOutsFor3DFX:size=67}${color6}${alignc 95}2${font}
####
## Uncomment for "SUNDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
${if_match "${time %b %G}"=="May 2015"}${voffset -66}${else}${if_match "${time %b %G}"=="Aug 2015"}${voffset -66}${else}${if_match "${time %b %G}"=="Jan 2016"}${voffset -66}${else}${if_match "${time %b %G}"=="Jul 2016"}${voffset -66}${else}${if_match "${time %b %G}"=="Oct 2016"}${voffset -82}${else}${voffset -60}${endif}${endif}${endif}${endif}${endif}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
####
## Uncomment for "MONDAY = First Day-of-the-Week" valid Jan.2015 - Dec.2016 (use mono fonts only)
## Tweaked for proper alignment of annoying months with six calendar weeks.
# ${if_match "${time %b %G}"=="Mar 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Aug 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="Nov 2015"}${voffset -76}${else}${if_match "${time %b %G}"=="May 2016"}${voffset -76}${else}${if_match "${time %b %G}"=="Oct 2016"}${voffset -76}${else}${voffset -70}${endif}${endif}${endif}${endif}${endif}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color9}&${color3}/'}
##################################
## RHYTHMBOX 1 (Experimental) ##
##################################
# ${if_running rhythmbox}
# ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
# ${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
##################################
## RHYTHMBOX 2 (Experimental) ##
##################################
${if_running rhythmbox}
${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 3}${font DroidSans:size=7.85}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
##################################
## BANSHEE (Experimental) ##
##################################
${if_running banshee}
${voffset -25}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 3}${font DroidSans:size=7.85}${color3}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d" "}${font}${endif}${endif}
##################################
## GUAYADEQUE (Experimental) ##
##################################
${if_running guayadeque}
${voffset -15}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 2}${font DroidSans:size=7.85}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
##################################
## VLC (Experimental) ##
##################################
${if_running vlc}
${voffset -32}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 6}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep xesam:artist: | cut -c -13 --complement | tr '\n' ' ' && qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -c -13 --complement`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep xesam:artist: | cut -c -13 --complement | tr '\n' ' ' && qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -c -13 --complement}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep xesam:artist: | cut -c -13 --complement | tr '\n' ' ' && qdbus org.mpris.MediaPlayer2.vlc /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -c -13 --complement}${font}${endif}${endif}
]] --end conky.text
Bookmarks