Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use_xft yes
- xftfont Bold:size=9
- xftalpha 0.1
- text_buffer_size 2048
- # Update interval in seconds
- update_interval 2
- # This is the number of times Conky will update before quitting.
- # Set to zero to run forever.
- total_run_times 0
- # Create own window instead of using desktop (required in nautilus)
- own_window yes
- own_window_transparent yes
- own_window_argb_visual yes
- #When ARGB visuals are enabled, use this to modify the alpha value used.
- #Valid range is 0-255, where 0 (zero) is 0% opacity, and 255 is 100% opacity.
- own_window_argb_value 0
- #own_window_type panel
- #own_window_type desktop
- own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
- # Use double buffering (reduces flicker, may not work for everyone)
- double_buffer yes
- # Minimum size of text area
- minimum_size 170 0
- maximum_width 300
- # Draw shades?
- draw_shades no
- # Draw outlines?
- draw_outline no
- # Draw borders around text
- draw_borders no
- # Stippled borders?
- stippled_borders 0
- # border margins
- #border_margins 5
- # border width
- border_width 1
- # Default colors and also border colors
- default_color green
- default_shade_color black
- #default_outline_color black
- own_window_colour 000000
- #default_color d8d8d8
- color1 yellow
- # Text alignment, other possible values are commented
- #alignment top_left
- #alignment top_right
- #alignment bottom_left
- alignment top_right
- # Gap between borders of screen and text
- # same thing as passing -x at command line
- gap_x 5
- gap_y 0
- # Subtract file system buffers from used memory?
- no_buffers yes
- # set to yes if you want all text to be in uppercase
- uppercase no
- # number of cpu samples to average
- # set to 1 to disable averaging
- cpu_avg_samples 1
- # number of net samples to average
- # set to 1 to disable averaging
- net_avg_samples 1
- # Force UTF8? note that UTF8 support required XFT
- override_utf8_locale yes
- # Add spaces to keep things from moving about? This only affects certain objects.
- use_spacer none
- background yes
- TEXT
- #${alignr}${font Source Sans Pro:pixelsize=26}Pulpit ${desktop}${font}
- # SYSTEM
- #########
- ${voffset 0}${font :Bold:size=10}${color1}SYSTEM $color$font Manjaro Xfce ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
- ${font :Bold:size=10}$sysname kernel: $font$kernel $alignr $machine
- ${font :Bold:size=10}Czas działania: $font$alignr $uptime
- #GPU Temperature $alignr ${execi 30 sensors | grep 'temp1:' | cut -c16-19}°C
- ${font :Bold:size=10}Pakiety do aktualizacji: $font${alignr 8}${voffset 0}${color1}${execpi 80 checkupdates | wc -l}${font}${color}
- ${font :Bold:size=10}Pakiety zainstalowane: $font$alignr${execi 20 pacman -Q | wc -l}
- ${font :Bold:size=10}Ostatnia aktualizacja: $font$alignr${execi 20 grep "starting full system upgrade" /var/log/pacman.log | tail -n1| cut --bytes=2-17}
- ##########
- # CPU
- ##########
- ${font :Bold:size=10}${color1}CPU$color${font} AMD Athlon 64 X2 4200+ @ ${freq_g cpu0}GHz $acpitemp°C${color}
- #Core 1 - ${execi 2 sensors | grep 'Core 1' | cut -c17-20}°C ${alignc 60}${cpubar cpu1}${color}
- #Core 2 - ${execi 2 sensors | grep 'Core 2' | cut -c17-20}°C ${alignc 60}${cpubar cpu2}${color}
- ${alignc 50}${voffset -5}${cpugraph 1 20,130 0000ff 00ff00 -t}${alignr}${cpugraph 2 20,130 0000ff 00ff00 -t}$color
- ${color0}${alignc 50}${voffset -10}${cpubar cpu1 5,130} ${alignr}${cpubar cpu2 5,130}
- ${alignc 30}${voffset -3}${color}${font :Bold:size=10}Core 1 $font${cpu cpu1}% ${alignr 30}${font :Bold:size=10}Core 2 $font${cpu cpu2}%${color}
- #########
- # MEMORY
- #########
- ${voffset 0}${font :Bold:size=10}${color1}MEMORY $font${color}$memperc% $color0${membar 5}${color}
- ${color}${font :Bold:size=10}Used:$font $mem of $memmax$alignr${font :bold:size=10} Free: $font$memeasyfree
- ${font :Bold:size=10}Buffers:$font $buffers $alignr ${font :Bold:size=10}Cached: $font$cached $alignr ${font :Bold:size=10}
- ${font :Bold:size=10}${color1}${voffset 0}USAGE${color}${voffset 0}${font :Bold:size=10}${color1}${voffset 0}${alignr 42}RAM${color1}${voffset 0}${alignr 17}${font :Bold:size=10}CPU
- ${font :Bold:size=10}${top name 1}$font${alignr}${top cpu 1} %
- ${voffset -13}${alignr}${offset -60}${top mem 1} %
- ${font :Bold:size=10}${top name 2}$font${alignr}${top cpu 2} %
- ${voffset -13}${alignr}${offset -60}${top mem 2} %
- ${font :Bold:size=10}${top name 3}$font${alignr}${top cpu 3} %
- ${voffset -13}${alignr}${offset -60}${top mem 3} %
- ${font :Bold:size=10}${top name 4}$font${alignr}${top cpu 4} %
- ${voffset -13}${alignr}${offset -60}${top mem 4} %
- ${font :Bold:size=10}${top name 5}$font${alignr}${top cpu 5} %
- ${voffset -13}${alignr}${offset -60}${top mem 5} %
- ${font :Bold:size=10}${top name 6}$font${alignr}${top cpu 6} %
- ${voffset -13}${alignr}${offset -60}${top mem 6} %
- #########
- # HDD
- #########
- ${font :bold:size=10}${color1}DISC $color$font sda:${execi 3600 cat /sys/block/sda/device/model || echo "none"} ${if_match "${hddtemp /dev/sda}"<="40" }${color green}$else${if_match "${hddtemp /dev/sda}"<="50" }${color orange}$else${color red}${font Ubuntu:Bold:size=10}UWAGA! $endif$endif${hddtemp /dev/sda}${color0}°C ${voffset 0}${alignr}${diskiograph /dev/sda 8,80 F57900 FCAF3E}
- #root
- $color${font :bold:size=10}root used(${fs_type /}): $font${fs_used /} of ${fs_size /} $color${fs_used_perc /} % ${color0}$alignr${fs_bar 5,45 /}
- $color${font :bold:size=10}write: $font${diskio_write /dev/sda}${alignc -20} ${font Ubuntu:bold:size=10}read:$font${diskio_read /dev/sda}$font
- #var
- $color${font :bold:size=10}var used(${fs_type /var}): $font${fs_used /var} of ${fs_size /var} $color$alignr${fs_used_perc /var} % ${color0}${fs_bar 5,45 /var}
- $color${font :bold:size=10}write: $font${diskio_write /dev/sda4}${alignc -20} ${font Ubuntu:bold:size=10}read:$font${diskio_read /dev/sda4}$font
- #home
- $color${font :bold:size=10}${font Ubuntu:bold:size=10}home used(${fs_type /home}): $font${fs_used /home} of ${fs_size /home} $color$alignr${fs_used_perc /home} % ${color0}${fs_bar 5,45 /home}${color}
- $color${font :bold:size=10}write: $font${diskio_write /dev/sda5}${alignc -20} ${font Ubuntu:bold:size=10}read:$font${diskio_read /dev/sda5}$font
- #swap
- ${font :Bold:size=10}swap used: $font$swap of $swapmax $color$alignr$swapperc% ${color0}${swapbar 8,50}
- ###########
- # NETWORK
- ###########
- ${voffset 0}${font :Bold:size=10}${color1}NETWORK ${voffset 0}${execpi 4 echo "\${font}\${color}(ping: \${font Ubuntu:Bold:size=10}\${color #66aaff}$(ping -W 1 -c 1 8.8.8.8 -q | grep rtt | egrep [0-9]+\.[0-9]+ -o | head -n 2 | tail -n 1)\${font}\${color} ms"})
- $color${font :Bold:size=10}External IP ${font}${alignr}${execi 10600 curl -s www.icanhazip.com}$font
- #######################
- #Wykrywanie karty sieciowej
- ${if_existing /proc/net/route wlp3s0f0}
- ${voffset -15}$color${font Ubuntu:Bold:size=10}Internal IP ${font}${alignr}${addr wlp3s0f0}
- ↑ ${upspeedf eth0} kb/s $alignr ${totalup eth0}
- ${voffset -15}$alignc${upspeedgraph eth0 10,120 000000 aaddff}
- ↓ ${downspeedf eth0} kb/s $alignr ${totaldown eth0}
- ${voffset -15}$alignc${downspeedgraph eth0 10,120 000000 66aaff}
- #
- ${else}${if_existing /proc/net/route wlp0s20u2u7}
- #
- ${voffset -15}$color${font Ubuntu:Bold:size=10}Internal IP ${font}${alignr}${addr wlp0s20u2u7}
- ↑ ${upspeedf eth0} kb/s $alignr ${totalup eth0}
- ${voffset -15}$alignc${upspeedgraph eth0 10,120 000000 aaddff}
- ↓ ${downspeedf eth0} kb/s $alignr ${totaldown eth0}
- ${voffset -15}$alignc${downspeedgraph eth0 10,120 000000 66aaff}
- #
- ${else}${if_existing /proc/net/route enp0s20u2u7}
- #
- ${voffset -15}$color${font Ubuntu:Bold:size=10}Internal IP ${font}${alignr}${addr enp0s20u2u7}
- ↑ ${upspeedf eth0} kb/s $alignr ${totalup eth0}
- ${voffset -15}$alignc${upspeedgraph eth0 10,120 000000 aaddff}
- ↓ ${downspeedf eth0} kb/s $alignr ${totaldown eth0}
- ${voffset -15}$alignc${downspeedgraph eth0 10,120 000000 66aaff}
- ${else}
- Network connected
- ${endif}${endif}${endif}
- #Koniec wykrywania karty sieciowej
- ${voffset -15}${color2}Outbound:$color${tcp_portmon 1 65535 count}${alignc -40}${color2} Inbound:$color${tcp_portmon 1 32767 count} $alignr${color2}Remote Service/Port:$color${tcp_portmon 32768 61000 count}
- ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
- ${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
- ${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
- ${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
- ${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
- #########################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement