Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # UBUNTU-CONKY
- # A comprehensive conky script, configured for use on
- # Ubuntu / Debian Gnome, without the need for any external scripts.
- #
- # Based on conky-jc and the default .conkyrc.
- # INCLUDES:
- # - tail of /var/log/messages
- # - netstat connections to your computer
- #
- # -- Pengo (conky@pengo.us)
- #
- # Create own window instead of using desktop (required in nautilus)
- own_window yes
- own_window_transparent yes
- own_window_type normal
- own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
- own_window_argb_visual yes
- background no
- # Use double buffering (reduces flicker, may not work for everyone)
- double_buffer yes
- # fiddle with window
- use_spacer none
- use_xft yes
- xftfont Ubuntu:size=8
- xftalpha 0.8
- # Update interval in seconds
- update_interval 1.0
- # Draw shades?
- draw_shades no
- # Text stuff
- draw_outline no # amplifies text if yes
- draw_borders no
- uppercase no # set to yes if you want all text to be in uppercase
- # Stippled borders?
- stippled_borders 8
- # border margins
- border_inner_margin 20
- # border width
- border_width 1
- # Default colors and also border colors, grey90 == #e5e5e5
- default_color lightgrey
- default_shade_color black
- default_outline_color white
- # 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 50
- gap_y 5
- # stuff after 'TEXT' will be formatted on screen
- override_utf8_locale no
- TEXT
- ${color #F80043}Hostname: ${color}$nodename
- ${color #F80043}System: ${color }${exec lsb_release -d | awk '{print $2,$3,$4}'}
- ${color #F80043}Uptime: ${color }$uptime
- ${color #F80043}CPU Temp: ${color }${hwmon temp 1} Celcius
- ${color #F80043}CPU Usage: ${color }${cpu cpu0}%
- ${cpugraph 20,130 000000 ffffff}
- ${color #F80043}Load: ${color }$loadavg
- ${color #F80043}Processes: ${color }$processes
- ${color #F80043}Running: ${color }$running_processes
- ${color #F80043}Highest CPU (%):
- ${color #ddaa00} ${top name 1}${top cpu 1}
- ${color } ${top name 2}${top cpu 2}
- ${color } ${top name 3}${top cpu 3}
- ${color } ${top name 4}${top cpu 4}
- ${color #F80043}Highest MEM (%):
- ${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
- ${color } ${top_mem name 2}${top_mem mem 2}
- ${color } ${top_mem name 3}${top_mem mem 3}
- ${color } ${top_mem name 4}${top_mem mem 4}
- ${color #F80043}MEM: ${color }$memperc% ($mem/$memmax)
- ${color white}${membar 5,150}
- ${color #F80043}SWAP: ${color }$swapperc% ($swap/$swapmax)
- ${color white}${swapbar 5,150}
- ${color #F80043}ROOT: ${color }${fs_free_perc /}% (${fs_free /}/${fs_size /})
- ${color white}${fs_bar 5,150 /}
- ${color #F80043}HOME: ${color }${fs_free_perc /home}% (${fs_free /home}/${fs_size /home})
- ${color white}${fs_bar 5,150 /home}
- ${color #F80043}NET:
- ${if_existing /sys/class/net/eth0/operstate up}${color #F80043} IP (eth0): ${color }${execi 60 /sbin/ifconfig eth0 | grep "inet addr:" | cut -d : -f 2 | awk '{print $1}'}
- ${color #F80043} Upload: ${color }${upspeed eth0}/s
- ${upspeedgraph eth0 20,150 000000 ffffff}
- ${color #F80043} Download: ${color }${downspeed eth0}/s
- ${downspeedgraph eth0 20,150 000000 ffffff}
- ${else}${if_existing /sys/class/net/wlan0/operstate up}${color #F80043} IP (wlan0): ${color }${execi 60 /sbin/ifconfig wlan0 | grep "inet addr:" | cut -d : -f 2 | awk '{print $1}'}
- ${color #F80043} Upload: ${color }${upspeed wlan0}/s
- ${upspeedgraph wlan0 20,150 000000 ffffff}
- ${color #F80043} Download: ${color }${downspeed wlan0}/s
- ${downspeedgraph wlan0 20,150 000000 ffffff}
- ${endif}${endif}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement