фух) дочитал до 70 стр.
Пока конек недоделан, не пинайте. И про фламастеры ненуна) Пжст по сути.
1.Не могу настроить индикацию акума,хз. показывает 90 (хоть в реале 96%-100% неважно )только падает при розряде, вверх никак. Ну и со шкалой как видно не гуд(. Шкалы ваше не видно) Подскажите куда зарыл собаку по неопытности?
#!/bin/bash
MAX=`cat /proc/acpi/battery/BAT1/info | grep 'design capacity:' | cut -b26-30`
CUR=`cat /proc/acpi/battery/BAT1/state | grep remaining | cut -d':' -f2 | cut -d' ' -f7`
PRC=$(( $CUR * 100 / $MAX ))
echo $PRC
2. Прозрачность, ..ать. На скрине видно светлые тени - рефракцыя в компизе (имхо удобно при теме в черных тонах). При отключении, конки почти прозрачный но тоже только при помощи еф. прозрачности того же компиза.
Как СОВСЕМ убрать фон в конки?
Даже если даже полностью убрать фон то рефракция все равно будет создавать некую рамку, правильно?
3. В конфгие прописано отображение треков в ритмбокс, но так как не использую - можно ли все то что есть подстроить под Qmmp?
# .conkyrc configuration
# Tristam Green, 11-21-2007
# Revision 1.123 11-23-2007
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
background no
use_xft yes
# Xft font when Xft is enabled
xftfont unDotum:size=8
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 0.5
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 5
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
# amplifies text
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 5
# border widt5
border_width 6
# Default colors and also border colors, grey90 == grey
default_color grey
default_shade_color grey
default_outline_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
#gap_x 1000
#gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
out_to_console no
wm_class_name Conky
# set to yes if you want all text to be in uppercase
uppercase no
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
TEXT
${color grey} $alignr $sysname $machine $kernel
${hr 1}
${color grey}${cpugraph 000000 5000a0}
${color}CPU1: ${color grey}${cpu cpu1}% ${alignc} ${cpubar cpu1}
${color}CPU2: ${color grey}${cpu cpu2}% ${alignc} ${cpubar cpu2}
${color grey}Статус: $alignr ${acpiacadapter}
${color grey}Статус батареи: $alignr${color grey} $battery
${color grey}${battery_bar 10,200}${execi 3600 /bin/myscript/bat.sh} $battery_percent %${color grey}
${color grey}${font unDotum:size=12}${hr 2}${font}
${color orange}${top name 1}${alignr}${top cpu 1}${color}
${top name 2}${alignr}${top cpu 2}
${top name 3}${alignr}${top cpu 3}
${top name 4}${alignr}${top cpu 4}
${top name 5}${alignr}${top cpu 5}
${font unDotum:size=12}${hr 2}${font}
${color orange}${top_mem name 1}${alignr}${top_mem mem_res 1}${color}
${top_mem name 2}${alignr}${top_mem mem_res 2}
${top_mem name 3}${alignr}${top_mem mem_res 3}
${top_mem name 4}${alignr}${top_mem mem_res 4}
${top_mem name 5}${alignr}${top_mem mem_res 5}
${top_mem name 6}${alignr}${top_mem mem_res 6}
${top_mem name 7}${alignr}${top_mem mem_res 7}
${color grey}${font Arial:size=8}ПАМЯТЬ${font} ${hr 1}
${color grey}RAM $alignr ${mem} / ${memmax} ${memperc}%
${color grey}swap $alignr ${swap} / ${swapmax} ${swapperc}%
${color grey}${font Arial:size=8}СЕТЬ (${color grey}${addr ppp0}${color grey}) ${font}${color grey} ${hr 1}
${color grey}down ${color grey}${downspeedf eth0} ${color grey}k/s ${alignr}${color grey}up ${color grey}${upspeedf eth0} ${color grey}k/s
${color grey}total down: ${totaldown eth0} $alignr total up: ${totalup eth0}
${color grey}${font Arial:size=8}ДИСКИ ${font}${color grey}${hr 1}
Root: ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color grey}${fs_bar 10, 200/}
Data: ${fs_used /media/Data} / ${fs_size /media/Data} $alignr ${fs_free_perc /media/Data}%
${color grey}${fs_bar 10,200/media/Data}
Muzon :${fs_used /media/Muzon} / ${fs_size /media/Muzon} $alignr ${fs_free_perc /media/Muzon}%
${color grey}${fs_bar 10,200/media/Muzon}
USB: ${if_mounted /media/Patriot}${fs_used /media/Patriot} / ${fs_size /media/Patriot} $alignr ${fs_free_perc /media/Patriot}%
${color Bat(%):${execi 30 ~/bin/bat_cents.sh}grey}${fs_bar 10,200/media/Patriot} $else ${color grey}$alignr отсутствует${color grey} $endif
${color grey}${font Arial:size=8}МУЗЫКА ${font}${color grey}${hr 1}
${font}${exec rhythmbox-client --print-playing --no-start}
${font unDotum:size=14}${color grey}$alignr ${time %a}, ${time %b %e %Y}, ${time %T}${font}
${color grey}${hr 1}
пока все, зарание спасибо за всякую полезную инфу. Буду колупать дальше