Page 1 of 1

conky - LINUX ONLY -

Posted: Sun Feb 12, 2017 4:35 pm
by deran
so without any further explanations needed, right in yer face, here is my conky


# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html" onclick="window.open(this.href);return false;
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html" onclick="window.open(this.href);return false;

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic. ... 24#p371424" onclick="window.open(this.href);return false;

# beta tested by: smacz
# extended pimp version by deran, incl: date,weather and cmus integration, some graphs n colors
# some lines are on purpose striked out for further configs ala not a bug - a feature
# Enjoy! :)

# pkill -xf "conky -c $HOME/.config/conky/BL-Right-lua.conkyrc" &
### Begin Window Settings #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Right Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 200 ### width | height
maximum_width 200

gap_x 20 ### left | right
gap_y 45 ### up | down

alignment tr
####################### End Window Settings ###
### Font Settings #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Liberation Mono:bold:size=9
xftfont Liberation Sans:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################### End Font Settings ###
### Color Settings ############################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame & Bunsen Grey
#default_color 929292 # Labs Grey
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 005F8F # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
######################## End Color Settings ###
### Borders Section ###########################
draw_borders no
# Stippled borders?
stippled_borders 1
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
####################### End Borders Section ###
### Miscellaneous Section #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

################# End Miscellaneous Section ###
### LUA Settings ##############################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 125 0 0 0 0 0x000000 0.2}
#
#${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#--------------------------------
lua_load $HOME/.config/conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 15 0 0 0 0 0xffffff 0.05
#lua_draw_hook_pre draw_bg 15 0 0 0 0 0x656667 0.35
lua_draw_hook_pre draw_bg 15 0 0 0 0 0x000000 0
#
# TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
############################ End LUA Settings ###

update_interval 1
TEXT
${font Liberation Mono:size=10}${alignc}${color6}#${time %X}
${alignc}${color5}${time %B %Y}
${goto 27}${color0}Mo Di Mi Do Fr Sa ${color9}So
${goto 27}${color1}${execpi 7200 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color1}/' | sed ':a;N;$!ba;s/\n/\n${goto 27}/g'}${color}${font}
${font sans-serif:normal:size=8}${color1}${alignc -50}Week:${color3}${alignr +20}${time %V}${color0}

${alignc}${execi 600 /home/g-spot/bin/weather.sh "EUR|DE|GM003|BERLIN"}

${alignc}${color7}S Y S T E M I N F O${color1}
${hr}
#Machine:${alignr}$machine
#Kernel:${alignr}$Kernel
#Host:${alignr}${nodename}
Uptime${alignr}${uptime}
CPU Temp${alignr} ${if_match ${hwmon 0 temp 1} <=64}${color1}${hwmon 0 temp 1}${color1}${endif}${if_match ${hwmon 0 temp 1} >=65}${color9}${hwmon 0 temp 1}${color1}${endif}°C
Avg${alignr}${if_match ${cpu cpu0}<8}${color1}${color7}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<95}${color1}${color1}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<=100}${color9}${color9}${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}${endif}% ${alignr}${freq}Mhz
$cpubar{color1}
$cpugraph{color1}
${color}${font sans-serif Light:pixelsize=8}${color}${top name 1}${color1}${alignr}${if_match ${top cpu 1}>=85}${color9}${else}${color1}${endif}${top cpu 1} %
${color}${font sans-serif Light:pixelsize=8}${color}${top name 2}${color1}${alignr}${if_match ${top cpu 2}>=85}${color9}${else}${color1}${endif}${top cpu 2} %
${color}${font sans-serif Light:pixelsize=8}${color}${top name 3}${color1}${alignr}${if_match ${top cpu 3}>=85}${color9}${else}${color1}${endif}${top cpu 3} %
${color}${font sans-serif Light:pixelsize=8}${color}${top name 4}${color1}${alignr}${if_match ${top cpu 4}>=85}${color9}${else}${color1}${endif}${top cpu 4} %
${color}${font sans-serif Light:pixelsize=8}${color}${top name 5}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top name 6}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top name 7}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top name 8}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top name 9}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top name 10}${color1}${alignr}${if_match ${top cpu 5}>=85}${color9}${else}${color1}${endif}${top cpu 5} %

#${goto 60}MEM${alignr}MAX
${font sans-serif:normal:size=8}RAM${alignr}${color7}${mem} / ${color1}${alignr}${memmax}${color1}
$membar{color1}
$memgraph{color1}
${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 1}${color1}${alignr}${top_mem mem_res 1}${color1} / ${alignr}${top_mem mem 1}${color1} %
${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 2}${color1}${alignr}${top_mem mem_res 2}${color1} / ${alignr}${top_mem mem 2}${color1} %
${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 3}${color1}${alignr}${top_mem mem_res 3}${color1} / ${alignr}${top_mem mem 3}${color1} %
${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 4}${color1}${alignr}${top_mem mem_res 4}${color1} / ${alignr}${top_mem mem 4}${color1} %
${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 5}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 6}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 7}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 8}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 9}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %
#${color}${font sans-serif Light:pixelsize=8}${color}${top_mem name 10}${color1}${alignr}${top_mem mem_res 5}${color1} / ${alignr}${top_mem mem 5}${color1} %

#${font sans-serif:normal:size=8}Swap${alignr}${color7}${swap} / ${alignr}${color1}${swapmax}${color1}
#$swapbar
#Disk Space Used:${alignr}Size:
${font sans-serif:normal:size=8}Disk${alignr}${color7}${fs_used /home} / ${alignr}${color1}${fs_size /home}${color1}
$fs_bar 10
$diskiograph {color1}
${font sans-serif:normal:size=8}Swap${alignr}${color7}${swap} / ${alignr}${color1}${swapmax}${color1}
$swapbar
#Disk Read ${alignr} ${diskio_read /dev/sda}
#Disk Write ${alignr -12} ${diskio_write /dev/sda}
#$memgraph
#$cpugraph

######################################WORKINGVERSION##########################################################
${alignc}${color7}N E T W O R K ${color1}
${hr}
#${font sans-serif Light:pixelsize=9}IP address $alignr ${addr wlan0}
Signal $alignr${wireless_link_bar 2,33 wlan0}$alignr ${wireless_link_qual_perc wlan0}%
ID$alignr${wireless_essid wlan0}
#${downspeedgraph wlan0}
#${font sans-serif Light:pixelsize=9}Upload$alignr${upspeed wlan0}
#Download$alignr${downspeed wlan0}
#${downspeedgraph wlan0}
#${font sans-serif:normal:size=8}Down: (Tot: ${totaldown wlan0}) $alignr${downspeed wlan0}/s
#${upspeedgraph wlan0}
#${font sans-serif:normal:size=8}Up: (Tot: ${totalup wlan0}) $alignr ${upspeed wlan0}/s
########################################WORKINGVERSION##########################################################
${if_existing /sys/class/net/eth0/operstate up}IP (eth0):$alignr${addr eth0}
Down: ${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${color1}${downspeedgraph eth0 20,80 ${color} ${color}} ${alignr}${upspeedgraph eth0 20,80 ${color} ${color}}${color1}
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
${endif}${if_existing /sys/class/net/eth1/operstate up}IP (eth1):$alignr${addr eth1}
Down: ${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${color1}${downspeedgraph eth1 20,80 ${color} ${color}} ${alignr}${upspeedgraph eth1 20,80 ${color} ${color}}${color1}
Total: ${totaldown eth1} ${alignr}Total: ${totalup eth1}
${endif}${if_existing /sys/class/net/eth2/operstate up}IP (eth2):$alignr${addr eth2}
Down: ${downspeed eth2} k/s ${alignr}Up: ${upspeed eth2} k/s
${color1}${downspeedgraph eth2 20,80 ${color} ${color}} ${alignr}${upspeedgraph eth2 20,80 ${color} ${color}}${color1}
Total: ${totaldown eth2} ${alignr}Total: ${totalup eth2}
${endif}${if_existing /sys/class/net/wlan0/operstate up}IP (wlan0):$alignr${addr wlan0}
Down: ${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${color1}${downspeedgraph wlan0 20,80 ${color} ${color}} ${alignr}${upspeedgraph wlan0 20,80 ${color} ${color}}${color1}
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
${endif}${if_existing /sys/class/net/ppp0/operstate}IP (ppp0):$alignr${addr ppp0}
Down: ${downspeed ppp0} k/s ${alignr}Up: ${upspeed ppp0} k/s
${color1}${downspeedgraph ppp0 20,80 ${color} ${color}} ${alignr}${upspeedgraph ppp0 20,80 ${color} ${color}}${color1}
Total: ${totaldown ppp0} ${alignr}Total: ${totalup ppp0}
${endif}
${font sans-serif:normal:size=8}${alignc}${color7}M U S I X${color1}
${hr}
${color1}${font sans-serif Light:pixelsize=9}Position / Duration ${execi 600 cmus-remote -Q | grep " status " | cut -c 11-} ${alignr} ${color} ${execi 600 /home/g-spot/.conky/cmus-time.sh}${color1}${font sans-serif Light:pixelsize=9}
#Title${alignr}${color}${font sans-serif Light:pixelsize=9} ${scroll 50 1 ${execi 1 cmus-remote -Q | grep " title " | cut -c 11-}}
#${color1}Artist${alignr}${color}${font sans-serif Light:pixelsize=9} ${scroll 50 2 ${execi 1 cmus-remote -Q | grep " artist " | cut -c 11-}}
#${color1}Album${alignr}${color}${font sans-serif Light:pixelsize=9} ${scroll 50 3 ${execi 1 cmus-remote -Q | grep " album " | cut -c 11-}}
#${color1}Year${alignr}${color}${font sans-serif Light:pixelsize=9} ${scroll 50 4 ${execi 1 cmus-remote -Q | grep " date " | cut -c 9-}}
${color1} ${alignc}${color}${font sans-serif Light:pixelsize=9} ${scroll 50 3 ${execi 600 cmus-remote -Q | grep " title " | cut -c 11-} ${color7} ${execi 600 cmus-remote -Q | grep " artist " | cut -c 11-} ${color0} ${execi 600 cmus-remote -Q | grep " album " | cut -c 11-} ${color3} ${execi 600 cmus-remote -Q | grep " date " | cut -c 9-} ${color5} ${execi 600 cmus-remote -Q | grep " genre " | cut -c 11-}}
#${if_match ${execi 5 expr length "` cmus-remote -Q | grep " artist " | cut -c 11-"} >= 25 }${scroll 25 3 ${execi 5 cmus-remote -Q | grep " artist " | cut -c 11-}}${else}${execi 5 cmus-remote -Q | grep " artist " | cut -c 11-}${endif}
#${color1}${font sans-serif Light:pixelsize=9}Repeat ${alignc} ${color7} ${execi 1 /home/g-spot/.conky/cmus-repeat.sh} ${alignc} | ${color1}${font sans-serif Light:pixelsize=9}Shuffle ${alignr +20} ${color7} ${execi 1 /home/g-spot/.conky/cmus-shuffle.sh}

#${color1}${font sans-serif Light:pixelsize=9}Shuffle ${alignr} ${color7} ${execi 1 /home/g-spot/.conky/cmus-shuffle.sh}
${font sans-serif:normal:size=8}${alignc}${color7}S H O R T C U T K E Y S${color1}
${hr}
${font sans-serif Light:pixelsize=8}[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
+ Space${alignr}Main Menu
+ Tab${alignr}Client Menu
+ t${alignr}Terminal
+ f${alignr}File Manager
+ e${alignr}Editor
+ m${alignr}Media Player
+ w${alignr}Web Browser
+ h${alignr}Task Manager
+ l${alignr}Lock Screen
+ v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot



conky - LINUX ONLY -

Posted: Sun Feb 12, 2017 7:33 pm
by MadMoonMan
So your saying you want complete control of everything you listed but there was nothing on anything not listed? Did you forget that or was it encoded somewhere in the middle?

conky - LINUX ONLY -

Posted: Sun Feb 12, 2017 8:02 pm
by bentech
toss everything mentioning color
wastes bandwidth

conky - LINUX ONLY -

Posted: Sun Feb 12, 2017 8:37 pm
by MadMoonMan
di di dah dit dah di dah

conky - LINUX ONLY -

Posted: Sun Feb 12, 2017 9:03 pm
by deran
color is kept tightly and is minimal just as an accent, ie the cpubar becomes red when going over 95% and is light cyan when below 10% as well as the numeric output
and the scrolling music title (too bad i had nothing playing as an visual example) is multicolored: song, artist, album, year and all other mp3 tags have their own unique color, its just a scrolling one-liner so its not that eye-cancer inducing
color does not demand much of cpu power
this conky as it is, is using less than 4 % cpu power .. and as you see its just a single core with 1600mhz, an old dinosaurus ... but thats the beauty of linux, i can do anything i want to ... ok im having luck not doing video editing and animation rendering and theirlike, but its got enough power for multilayered 32 bit tiff and raw gimp and or photoshop actions, to do serious working with nice fullframe resolutions from the canon

@mmm
this is not the control "unit" , its the opposite, its showing whats all going on below the hood, and by that totaly scaleable and perfectly made for individualisation , just ask google ... often you cant recognize this masterpiece of software as one and the same, bc its so variable and flexible and diverse :

https://www.google.de/search?q=conky&tb ... gAat2Y6wBw" onclick="window.open(this.href);return false;

:rollitiup: