Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- conky.config = {
- format_human_readable = true,
- background = false,
- disable_auto_reload = false,
- temperature_unit = celsius,
- use_xft = true,
- font = 'Droid Sans:size=10',
- text_buffer_size=8192,
- xftalpha = 0,
- update_interval = 1,
- total_run_times = 0,
- max_text_width = 200,
- -- min_text_width = 220,
- -- minimum_size = 200, 0,
- maximum_width = 200,
- own_window = false,
- own_window_type = 'desktop',
- own_window_transparent = true,
- own_window_hints = undecorate,sticky,below,skip_taskbar,skip_pager,
- own_window_argb_visual = true,
- own_window_argb_value = 120,
- double_buffer = true,
- draw_shades = false,
- draw_outline = false,
- draw_borders = false,
- draw_graph_borders = false,
- stippled_borders = 0,
- border_width = 1,
- default_color = white,
- own_window_colour = white,
- default_shade_color = grey,
- alignment = 'top_right',
- gap_x = 8,
- gap_y = -30,
- uppercase = false,
- cpu_avg_samples = 2,
- net_avg_samples = 2,
- override_utf8_locale = trye,
- use_spacer = 'none',
- imlib_cache_size=8192,
- show_graph_scale = false,
- show_graph_range = false
- }
- conky.text = [[
- ${color Yellow}${voffset 22}${font zekton:size=36:bold}${time %H}${voffset -18}${font Droid Sans:size=24}:${time %M}${font Droid Sans:size=15}${voffset -8}${color 00FFFF}:${time %S}${font Droid Sans:size=10}${voffset -8}
- ${color FFD700}${alignr}${font Droid Sans:size=10}${voffset -11}Мск: ${tztime Europe/Moscow %H:%M}
- ${offset 130}${font Droid Sans:size=10}Н-т: ${tztime Asia/Yekaterinburg %H:%M}
- ${offset 130}${font Droid Sans:size=10}В-л: ${tztime Asia/Vladivostok %H:%M}
- ${color FFFFFF}${voffset -2}${hr 2}
- ${voffset -18}${alignc}${execp python3 /home/fil/codding/cal.py}
- #${voffset -1}${alignc}${execp /home/fil/codding/proby/wind.py}
- #${color FF8C00}${voffset -15}${alignc}${font Monospace:size=10}${execp ~/progs/gotext}
- ${color FFFFFF}${voffset -18}${hr 2}
- ${voffset -5}${color FFFF00}${font Monospace:size=12:bold}Инет: ${color red}${execp python3 /home/fil/progs/pens.py 7}
- #${color FFFF00}${color FF4444}${alignr}${execi 3000 /home/fil/codding/meg.py}
- #----------------Processor & temp
- ${color ffffff}${font ConkyColors:size=16}8${voffset -5}${hr 2}
- ${voffset -3}${font Droid Sans:size=12:bold}${color 00ffff}${execi 5 sensors |grep 'Core 0'|awk '{print $3}'}${alignc -30}${color FFFF00}${execi 5 sensors |grep temp1|awk '{print $2}'}${alignr}${color ff0000}${execi 5 sensors |grep 'Core 2'|awk '{print $3}'}
- #${voffset -3}${font Droid Sans:size=12:bold}${color 00ffff} +${hwmon 0 temp 2}°C${alignc -30}${color FFFF00}+${execp nvidia-settings -query GPUCoreTemp |grep "Attribute 'GPUCoreTemp'"|sed q|awk '{print $4}'|tr -d "."}°C${alignr}${color ff0000}+${hwmon 0 temp 4}°C
- ${voffset -1}${color AAAAAA}${font Magistral:size=15:bold}Uptime:${alignr}${uptime}${font}
- #----------------Memory
- ${color ffffff}${font}${font Poky:size=16}a${font}${voffset -7}${hr 2}
- #${color FF8C00}Ram used: ${alignr}${offset -10}${memperc}%
- ${voffset 2}${color FF8C00}RAM${offset 10}${mem}/${memmax}${alignr}${memperc}%${alignr}${voffset 1}${membar 8,30}${color}
- ${voffset -3}${color 60ff60}SWP${offset 10}${swap}/${swapmax}${alignr}${swapperc}%${alignr}${voffset 1}${swapbar 8,30}
- #----------------Internet
- ${voffset -2}${color ffffff}${font ConkyColors:size=16}l${voffset -4}${hr 2}${font}
- ${font Droid Sans:size=12}${color ADFF2F}Down: ${downspeed eth0}${alignr}${color FFA07A}Up: ${upspeed eth0}${color}
- ${voffset -3}${color ffffff}Sum: ${execi 300 python3.6 /home/fil/codding/parsjson.py}${alignr}Sum: ${execi 5 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'}
- #----------------POGODA
- ${voffset -5}${font Heydings Icons:size=18}U${voffset -3}${hr 2}
- ${voffset -10}${execpi 300 /home/fil/codding/pogoda/mon2ubi.py}
- #${font Droid Sans:size=12}${color ffff00}Tele2 потрачено : ${color}${execpi 3600 sshpass -p 'delvin' ssh mumsic@192.168.0.2 /home/mumsic/codding/tele2.py}
- #----------------Sound volume
- ${voffset -3}${color ffffff}${font Poky:size=16}l${voffset -7}${hr 2}
- ${voffset -10}${if_running audacious}${font Droid Sans:size=11}${color B22222}${exec audtool current-song-length}${color
- 00ffff}-${color
- ffff00}${exec audtool current-song-output-length}${alignr}${color B22222}${endif}${alignr}${if_running audacious}${exec audtool playback-status}${endif}
- ${voffset -18}${alignc}${font Open 24 Display St:size=12} ${font Open 24 Display St:size=36}${color red}${offset 20}${execi 2 sudo amixer -c /dev/snd/by-path/pci-0000:00:1b.0 get Master | grep "Mono: Playback" | awk '{print $4}'| tr -d '[]'}${voffset -2}${font}
- ${voffset -5}${font Droid Sans:size=11}${if_running emerge}${color 00ffff}Build: ${color A0FFA0}${alignr}${execp qlop -c |tail -n 1 |awk '{print $2,$3,$4,$5}'}${endif}
- ${voffset -5}${font Droid Sans:size=11}${if_running emerge}${color FFA07A}${alignr}${execp sudo tail /var/log/emerge.log|grep emerge | awk -F' ' '{print $4, $5, $6, $7}' |tail -1}${endif}
- #----------------Disks
- ${voffset -8}${color ffffff}${font Poky:size=16}y${font}${voffset -7}${hr 2}
- ${voffset 0}${font Droid Sans:size=10}${color 00ffff}/root${color FFD700}${offset 11}${fs_free /}/${fs_size /}${color}${alignr}${color 00ffff}${fs_bar 8,50 /}
- ${voffset -3}${color 00ffff}/home${color FFD700}${offset 5}${fs_free /home/}/${fs_size /home/}${color}${alignr}${color 00ffff}${fs_bar 8,50 /home/}
- ${voffset -3}${color 00ffff}mumic${color FFD700}${offset 5}${fs_free /home/fil/music}/${fs_size /home/fil/music}${color}${alignr}${color 00ffff}${fs_bar 8,50 /home/fil/music}
- ${voffset -3}${color 00ffff}gentoo${color FFD700}${offset 5}${fs_free /mnt/gentoo}/${fs_size /mnt/gentoo}${color}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/gentoo}
- #${if_mounted /mnt/ssh}${voffset -3}${color 00ffff}SSH${color FFD700}${offset 18}${fs_free /mnt/ssh}/${fs_size /mnt/ssh}${color}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/ssh}${endif}
- #${voffset -3}${color 00ffff}Music${color FFD700}${offset 20}${fs_free /home/fil/music}/${fs_size /home/fil/music}${color}${alignr}${color 00ffff}${fs_bar 8,50 /home/fil/music}
- #-------------------------------PROCS
- #${color ffffff}${font Poky:size=14}x${voffset -3}${hr 2}${font}
- ${voffset -3}${color ffff00}${top_mem name 1}${goto 1810}${color FF0000}${top_mem mem 1} Mb${alignr}${top cpu 1}%
- ${voffset -3}${color ffff00}${top_mem name 2}${goto 1810}${color FF0000}${top_mem mem 2} Mb${alignr}${top cpu 2}%
- #${voffset -3}${color ffff00}${top_mem name 3}${goto 1810}${color FF0000}${top_mem mem 3} Mb${alignr}${top cpu 3}%
- #${color ffffff}${voffset -5}${hr 1}${font}
- #${font ConkyColors:size=14}E
- #${color FFA07A}${font Droid Sans:size=10}${tcp_portmon 1 65535 rhost 0}${color 00ff00}${alignr 1}${tcp_portmon 1 65535 rport 0}
- #${voffset -4}${color FFA07A}${tcp_portmon 1 65535 rhost 1}${color 00ff00}${alignr 1}${tcp_portmon 1 65535 rport 1}
- #${voffset -4}${color FFA07A}${tcp_portmon 1 65535 rhost 2}${color 00ff00}${alignr 1}${tcp_portmon 1 65535 rport 2}
- #${color ffffff}${voffset -8}${font ConkyColors:size=14}n${hr 2}${font}
- #${execp /home/fil/progs/num-ubu.py}
- #{voffset -13}${font Droid Sans:size=12}${execpi 1800 /home/fil/codding/pogoda/naw-pag.py}
- #----------------IP INFO
- ${color ffffff}${voffset -5}${font Poky:size=16}w${voffset -8}${font}${hr 2}
- ${voffset 2}${font Droid Sans:size=12}${color ffff00}${if_running tor}Tor: ${color}${execpi 600 /home/fil/progs/tor.py}${endif}${font}
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement