Created
March 5, 2015 09:20
-
-
Save GiorgioAresu/d396b6c92eb941a94d22 to your computer and use it in GitHub Desktop.
Conky configuration for arch linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Size and position | |
alignment top_right | |
gap_x 5 | |
gap_y 30 | |
minimum_size 250 738 | |
maximum_width 250 | |
# Appearance and font | |
border_margin 4 | |
border_width 2 | |
default_color white | |
default_outline_color black | |
default_shade_color black | |
draw_borders no | |
draw_graph_borders yes | |
draw_outline no | |
draw_shades no | |
override_utf8_locale yes | |
own_window_argb_visual yes | |
own_window_argb_value 200 | |
own_window_transparent no | |
stippled_borders 0 | |
uppercase no | |
use_spacer left | |
use_xft yes | |
xftfont Bitstream Vera Sans Mono-7 | |
xftalpha 1 | |
# Properties and settings | |
background yes | |
double_buffer yes | |
no_buffers yes | |
out_to_console no | |
own_window yes | |
own_window_type normal | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
# Refresh settings | |
cpu_avg_samples 2 | |
net_avg_samples 2 | |
update_interval 2 | |
TEXT | |
## | |
## STATUS INFO | |
## | |
${font :size=7 :style=bold}${color #ffcb48}$nodename${font} | |
${color #5ec8ff}Kernel: ${color}$kernel [$machine] | |
${color #5ec8ff}Uptime: ${color}$uptime | |
${color #5ec8ff}Battery: ${color}${battery}${alignr 50}${battery_bar BAT0 6,50}${if_empty $battery_time}$else | |
${color #5ec8ff}Remaining: ${color}${battery_time}$endif | |
${hr 2} | |
## | |
## SYSTEM INFO | |
## | |
${font :size=7 :style=bold}${color #ffcb48}SYSTEM:${font} | |
${color #ff4c08}CPU Temp: ${color}${hwmon 1 temp 2}°/${hwmon 1 temp 3}°${goto 140}${color #ff4c08}CPU Freq:${alignr}${color}$freq_g GHz | |
${color #ff4c08}CPU Usage: ${color}${offset 35}${cpugauge cpu1 8,16} ${cpugauge cpu2 8,16}${alignr}$cpu% ${cpubar 6,50} | |
${cpugraph cpu0 32,244 802604 ff4c08 -t} | |
${color #ff4c08}GPU Temp: ${color}${hwmon temp 1}°${goto 140}${color #ff4c08}GPU Profile:${alignr}${color}${exec cat /sys/class/drm/card0/device/power_profile} | |
${color #ff4c08}RAM Usage:${color}${goto 85}${mem}${goto 127}/${memmax}${alignr}${memperc}% ${membar 6,50} | |
${color #ff4c08}SWAP Usage:${color}${goto 85}${swap}${goto 127}/${swapmax}${alignr}${swapperc}% ${swapbar 6,50} | |
# ${color #ff4c08}SWAP Usage:${color}${goto 85}${swap}${goto 127}/${swapmax}${alignr}${swapperc}% ${swapbar 6,50} | |
${hr 2} | |
## | |
## PROCESSES INFO | |
## | |
${font :size=7 :style=bold}${color #ffcb48}PROCESSES:${font} | |
${color #56ff08}Processes: ${color}$processes${color #56ff08}${goto 140}Running:${alignr}${color}$running_processes | |
#### PROCESSES BY CPU USAGE | |
${color #56ff08}NAME${alignr}PID â–¼CPU% MEM% | |
${color #e5e5e5}${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1} | |
${color #c4c4c4}${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2} | |
${color #a3a3a3}${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3} | |
${color #828282}${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4} | |
#### PROCESSES BY MEMORY USAGE | |
${color #56ff08}NAME${alignr}PID CPU% â–¼MEM% | |
${color #e5e5e5}${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} | |
${color #c4c4c4}${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} | |
${color #a3a3a3}${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} | |
${color #828282}${top_mem name 4}${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}${color} | |
${hr 2} | |
## | |
## DISKS AND PARTITIONS INFO | |
## | |
${font :size=7 :style=bold}${color #ffcb48}DISK:${font} | |
#### ROOT PARTITION INFO | |
${color #ff08e5}/:${color}${goto 85}${fs_used}${goto 127}/${fs_size}${alignr}${fs_used_perc /}% ${fs_bar 6,50 /}${color} | |
${color #ff08e5}Read:${color}${goto 92}${diskio_read /dev/sda8}${color #ff08e5}${goto 140}Write:${color}${goto 213}${diskio_write /dev/sda8} | |
${diskiograph_read /dev/sda8 25,116 800473 ff08e5 -t} ${diskiograph_write /dev/sda8 25,116 800473 ff08e5 -t} | |
#### HOME PARTITION INFO | |
${color #ff08e5}/home:${color}${goto 85}${fs_used /home}${goto 127}/${fs_size /home}${alignr}${fs_used_perc /home}% ${fs_bar 6,50 /home}${color} | |
${color #ff08e5}Read:${color}${goto 92}${diskio_read /dev/sda9}${color #ff08e5}${goto 140}Write:${color}${goto 213}${diskio_write /dev/sda9} | |
${diskiograph_read /dev/sda9 25,116 800473 ff08e5 -t} ${diskiograph_write /dev/sda9 25,116 800473 ff08e5 -t} | |
${if_gw}${hr 2} | |
## | |
## NETWORK INFO | |
## | |
${font :size=7 :style=bold}${color #ffcb48}NETWORK:${font} | |
${color #8d08ff}TCP Connections: ${color}${tcp_portmon 1 65535 count}${alignr}${color #8d08ff}External IP: ${color}${execi 10 wget -O - http://ip.tupeux.com | tail} | |
#### ETHERNET CONNECTION INFO | |
${if_existing /proc/net/route enp2s0} ${color #8d08ff}enp2s0:${color}${goto 165}${totaldown enp2s0}${goto 207}/${totalup enp2s0} | |
${color #8d08ff}Down:${color}${goto 92}${downspeed enp2s0}${color #8d08ff}${goto 140}Up:${color}${goto 213}${upspeed enp2s0} | |
${downspeedgraph enp2s0 25,116 460480 8d08ff -t} ${upspeedgraph enp2s0 25,116 460480 8d08ff -t} | |
${color #8d08ff}Address: ${color}${addr enp2s0} | |
$endif# | |
#### WI-FI CONNECTION INFO | |
${if_existing /proc/net/route wlp4s0} ${color #8d08ff}wlp4s0:${color}${goto 165}${totaldown wlp4s0}${goto 207}/${totalup wlp4s0} | |
${color #8d08ff}Down:${color}${goto 92}${downspeed wlp4s0}${color #8d08ff}${goto 140}Up:${color}${goto 213}${upspeed wlp4s0} | |
${downspeedgraph wlp4s0 25,116 460480 8d08ff -t} ${upspeedgraph wlp4s0 25,116 460480 8d08ff -t} | |
${color #8d08ff}Address: ${color}${addr wlp4s0}${alignr}${wireless_mode wlp4s0} | |
${color #8d08ff}SSID: ${color}${wireless_essid wlp4s0}${alignr}${wireless_link_qual_perc wlp4s0}% ${wireless_link_bar 6,50 wlp4s0} | |
$endif# | |
#### PPP CONNECTION INFO | |
${if_existing /proc/net/route ppp0} ${color #8d08ff}ppp0:${color}${goto 165}${totaldown ppp0}${goto 207}/${totalup ppp0} | |
${color #8d08ff}Down:${color}${goto 80}${downspeed ppp0}/s${color #8d08ff}${goto 140}Up:${color}${goto 201}${upspeed ppp0}/s | |
${downspeedgraph ppp0 25,116 460480 8d08ff -t} ${upspeedgraph ppp0 25,116 460480 8d08ff -t} | |
${color #8d08ff}Address: ${color}${addr ppp0} | |
$endif | |
$endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment