Script Conky Pattimura(ku)

Daripada lupa,script ini saya simpan di sini .silahkan di SalTem kalau berminat.

# Conky, a system monitor, based on torsmo
# Any original torsmo code is licensed under the BSD license
# All code written since the fork of torsmo is licensed under the GPL
# Please see COPYING for details
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see .

# To use #! in a conky use: ${exec echo '#!'}
# CBL Today by Suryo B

background no
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager
own_window_title CBL Today
own_window_class CBL Today

# Graphics
double_buffer yes
use_spacer right # yes is NOT an option - left right or none
override_utf8_locale yes
use_xft yes
xftfont DejaVu Sans Mono:size=9
xftalpha 1.0
update_interval 1
uppercase no  # set to yes if you want all text to be in uppercase
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no  # amplifies text if yes
draw_shades no  # shadecolor black

# Colors
default_color DCDCDC #Gainsboro
color0 7FFF00 #Chartreuse
color1 FFA07A #LightSalmon
color2 FF8C00 #Darkorange
color3 778899 #LightSlateGrey
color4 FFD700 #Gold
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
#    colours below used by colorize script
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 1028 # 256 is minimum
no_buffers yes  # Subtract file system buffers from used memory?
short_units yes
pad_percents 2
top_name_width 10

# Layout
alignment tr  # Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
gap_x 12 # pos = left & neg = left
gap_y 35 # pos = up & neg = down

imlib_cache_size 0
minimum_size 0 900


${voffset 35}${goto 35}${color3}${cpubar cpu5 1,100}${color}
Host:${goto 70}${nodename}
Uptime:${goto 70}${uptime}
RAM:${goto 70}${mem} / ${memmax}
Swap:${goto 70}${swap} / ${swapmax}
Root:${goto 70}${fs_used /} / ${fs_size /}
Home:${goto 70}${fs_used /home} / ${fs_size /home}
/media/5:${goto 70}${fs_used /media/5} / ${fs_size /media/5}
/media/6:${goto 70}${fs_used /media/6} / ${fs_size /media/6}

${color3}${cpubar cpu0 25,170}
${voffset -36}${goto 20}${color}${font Zekton:size=15}CPU${font}${goto 120}${voffset -5}${font monospace:size=12}${cpu cpu0} %${font}
${voffset 10}${color6}Name${goto 85}CPU${goto 135}MEM${color}
${voffset 5}${top name 1}${goto 70}${top cpu 1}${goto 120}${top mem 1}
${top name 2}${goto 70}${top cpu 2}${goto 120}${top mem 2}
${top name 3}${goto 70}${top cpu 3}${goto 120}${top mem 3}
${top name 4}${goto 70}${top cpu 4}${goto 120}${top mem 4}
${top name 5}${goto 70}${top cpu 5}${goto 120}${top mem 5}
${color3}${membar 25,170}
${voffset -36}${goto 20}${color}${font Zekton:size=15}MEM${font}${goto 120}${voffset -5}${font monospace:size=12}${memperc} %${font}
${voffset 10}${color6}Name${goto 85}CPU${goto 135}MEM${color}
${voffset 5}${top_mem name 1}${goto 70}${top_mem cpu 1}${goto 120}${top_mem mem 1}
${top_mem name 2}${goto 70}${top_mem cpu 2}${goto 120}${top_mem mem 2}
${top_mem name 3}${goto 70}${top_mem cpu 3}${goto 120}${top_mem mem 3}
${top_mem name 4}${goto 70}${top_mem cpu 4}${goto 120}${top_mem mem 4}
${top_mem name 5}${goto 70}${top_mem cpu 5}${goto 120}${top_mem mem 5}${font}${color}
${color}${execpi 3600 conkyForecast --template=$HOME/CBL/weather/today.template}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}${else}${if_existing /proc/net/route ppp0}
Up: ${upspeed ppp0} kb/s ${alignr}${upspeedgraph ppp0 8,60 789E2D A7CC5C}
Down: ${downspeed ppp0} kb/s ${alignr}${downspeedgraph ppp0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup ppp0}
Download: ${alignr}${totaldown ppp0}
IP: ${alignr}${addr ppp0}${endif}${else}${if_existing /proc/net/route eth1}
Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}${endif}${else}${font PizzaDude Bullets:size=14}4${font}   Network Unavailable${endif}

 Ini hasil skrinsut setelah script diatas  dipasang

Tidak ada komentar:

Posting Komentar

Ingin Aplikasi dan Game ANDROID untuk HH kamu?


Google Translate
Arabic Korean Japanese Chinese Simplified Russian Portuguese
English French German Spain Italian Dutch
BLOG INI SEKEDAR CATATAN BIAR GAK HILANG DAN LUPA. Seluruh isi Blog bebas Etika Copy/Paste. Silahkan COPY - PASTE seluruh isi ARTIKEL dengan bebas. Karena begitu indahnya berbagi informasi.mohon maaf bagi Blogger yang secara sengaja artikelnya saya "bajak" semoga bisa bermanfaat bagi orang banyak ^^

masukkan alamat email anda:

Untuk belangganan ArtikelTerbaru

suryo basuki blog

suryo on Plurk

Arsip Blog