Interactief > Etalage
Hoe ziet jouw Conky eruit? Graag zowel schermafdruk als code. - 2015
Henkp:
Ik heb hem voor de Desktop pc overgenomen, is heel mooi.
Alleen de CPU- Temperatuur meter doet het niet bij mij. Op mijn Linux Mint 17.2 Cinnamon/Rafaela 64Bit
Joris Donders:
--- Citaat van: Pjotr op 2015/08/14, 23:21:21 ---@Joris: mooi! Wel zou ik, gezien de kleuren van je bureaubladachtergrond, de kleuren van de tekst in Conky veranderen. En het onderdeel "Acculading" kun je er geheel uit gooien....
Overigens: aan Conky te zien, is je wisselgeheugen (swap) deels in gebruik. Heb je de swapneiging al verlaagd?
--- Einde van citaat ---
Danku, en inderdaad is nog het een en ander aan te passen; het betreft hier een verse installatie. Momenteel heb ik een nieuwe accu besteld in China, maar de levertermijn zou wel eens 63 dagen kunnen worden.
Ik ga eens experimenteren met die kleuren; voorheen had ik de standaard meegeleverde foto (grijs met rechts een gitaar) als bureaublad, maar die foto van Diana Krall (jazz-zangeres) paste goed bij die Conky , alleen inderdaad de kleuren zouden beter kunnen. Enfin ik ga nog wat spelen. (En bedankt Pjotr voor je goed gemaakte Conky: ik ben daar echt een noob in)
Pjotr:
De huidige kleurcodes staan onderaan in de kop, en betreft deze:
--- Code: ---default_color ECEAE4
color1 ffff00
color2 01C400
--- Einde van code ---
Hier kun je andere kleurcodes kiezen en ophalen:
http://www.w3schools.com/tags/ref_colorpicker.asp
Bloom:
Bij mij staat dit aan de rechterkant van mijn desktop:
En dit is de .conkyrc:
--- Code: ---background yes
font Caliban:size=8
xftfont Caliban:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 0
double_buffer yes
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders no
minimum_size 350
maximum_width 350
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_right
gap_x 10
gap_y 36
no_buffers yes
cpu_avg_samples 1
override_utf8_locale yes
uppercase no
use_spacer none
#vereist dat stunnel4 geïnstalleerd is
imap localhost gebruikersnaam wachtwoord -i 60 -p 143
mpd_host streamer
mpd_port 6600
color1 0099CC
color2 9933CC
color3 669900
color4 FF8800
color5 CC0000
color6 AAAAAA
color7 484848
TEXT
${font Geosans Light:pixelsize=22}${alignc}${color DBDBDB}${nodename_short}${font}
${font Geosans Light:pixelsize=14}${alignc}${exec cat /etc/issue.net}${font}
${image ~/.conky/icons/logo.png -p 18,20 -s 45x45}
${goto 74}${font Poky:pixelsize=20}r${font} ${voffset -16} Kernel: $kernel $machine
${goto 99}Looptijd: $uptime_short
${goto 99}Gebruikers: $user_number
#${voffset -6}${goto 70}${font Poky:pixelsize=22}T${font}${color 98FB98}${voffset -8} ${battery_bar 6,150 BAT0}${color} ${battery BAT0}
${voffset -8}
${goto 33}${font :style=Bold:pixelsize=12}CPU${voffset -8} ${font Poky:pixelsize=22}P${font} ${voffset -5}${freq_g 1} GHz ${alignc}${voffset -15} ${cpugraph CPU 20,80 FFF6CD FF0B00 -t}
${voffset -20}${goto 246}${font :style=Bold:pixelsize=14}${cpu CPU}%${font}
${voffset -8}${goto 34}${font :style=Bold:pixelsize=12}MEM${font}${voffset -19} ${font Poky:pixelsize=32}a${font} ${voffset -22} RAM: $mem v $memmax
${alignr 50}${color A0CCFF} ${membar 4,180}${color}
${goto 120} Swap: $swap v $swapmax
${goto 120} Last: ${color C7FF8E}$loadavg${color}
${goto 120} Taken: ${color C7FF8E}$processes${color}
${goto 120} Draaiend: $running_processes ${color}
${voffset -8}${goto 33}${font :style=Bold:pixelsize=12}NET${font}${voffset -19} ${font Poky:pixelsize=32}w${font}
${goto 118}${font Poky:pixelsize=22}i${font}${voffset -40} Download: ${downspeed eth0}
${goto 148}${voffset -6}${downspeedgraph eth0 25,150 D9FFDF A5FEB3}
${goto 148}${voffset -4}Upload: ${upspeed eth0}
${goto 148}${voffset -6}${upspeedgraph eth0 25,150 FEC2A5 FA9C6F}
${goto 118}${font Poky:pixelsize=22}e${font}
${goto 148}${voffset -26}Totaal: down: ${totaldown eth0}
${goto 189}up: ${totalup eth0}
${goto 148}IP : ${exec hostname -I}
${goto 148}e-mail: ${imap_unseen}/${imap_messages}
${goto 30}${font Poky:pixelsize=52}y${font}
${voffset -40}
${alignc}Root: ${fs_free /} / ${fs_size /}
${alignc}${color 83A1FF}${fs_bar 4,150 /}${color}
${alignc}Home: ${fs_free /home} / ${fs_size /home}
${alignc}${color 83A1FF}${fs_bar 4,150 /home}${color}
${alignc}Mother: ${fs_free /media/Mother} / ${fs_size /media/Mother}
${alignc}${color 83A1FF}${fs_bar 4,150 /media/Mother}${color}
${alignc}TriNAS: ${fs_free /media/TriNAS} / ${fs_size /media/TriNAS}
${alignc}${color 83A1FF}${fs_bar 4,150 /media/TriNAS}${color}
${if_mpd_playing}
${alignc}${color 98FB98}Muziekweergave:${color}
${alignc}$mpd_album
${alignc}$mpd_artist
${alignc}$mpd_title
${alignc}$mpd_status ${color 98FB98}${mpd_bar 4,150}${color} $mpd_bitrate kbit/s
${alignc}$mpd_elapsed / $mpd_length
${endif}
${color DBDBDB}
${font Dream Orphanage:pixelsize=55}${alignc}${time %H:%M}${font}
${color 5F5F5F}
${font Dream Orphanage:pixelsize=25}${alignc}${time %A %d %B %Y}${font}
${color DBDBDB}
${if_mpd_playing}
${voffset -30}
${else}
${voffset 45}
${endif}
# WEERBERICHT
# geocode Hasselt/België 12817672
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=12817672&u=c" -o ~/.cache/weather.xml}${font Geosans Light:size=15}${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "city=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}, ${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "country=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}
${font Geosans Light:size=60}${alignr}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${voffset -20}
${execi 300 cp -f ~/.conky/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 0,755 -s 60x60}
#${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tr '[a-z]' '[A-Z]'}
${execi 300 grep $(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*") ~/.conky/weercodes.txt | cut -d, -f2 | tr '[a-z]' '[A-Z]'}
${image ~/.conky/wind.png -p 0,830 -s 15x15}${goto 35}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}
${image ~/.conky/humidity.png -p 0,845 -s 15x15}${goto 35}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}%
${execi 300 cp -f ~/.conky/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-today.png}${image ~/.cache/weather-today.png -p 0,865 -s 30x30}${execi 300 cp -f ~/.conky/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-tomorrow.png}${image ~/.cache/weather-tomorrow.png -p 130,865 -s 30x30}${voffset -10}
#${goto 60}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${goto 190}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}
${goto 60}Morgen${goto 190}Overmorgen
${goto 60}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}° ${color6}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${color}${goto 190}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}° ${color6}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color}${voffset 15}
--- Einde van code ---
Pjotr:
@Bloom: mooi!
Navigatie
[0] Berichtenindex
[#] Volgende pagina
[*] Vorige pagina
Naar de volledige versie