dotfiles/conky/conkyrc

72 lines
1.9 KiB
Plaintext

# Jap chars to force UTF-8: シック
#
# Stolen from dotshare.it at some point and modified.
# Use deadbeef for music status, otherwise you're a fag.
# Also you probably have different mount points you want to monitor.
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont terminus:size=12
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 240 240
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color EBA242
default_shade_color 000000
default_outline_color d9d7d6
alignment top_right
gap_x 16
gap_y 46
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
update_interval 1.0
##############################################
# Output
##############################################
TEXT
${color #d1d1d1}SYSTEM INFORMATION $hr${color}
Host:$alignr$nodename
Kernel:$alignr$kernel
Uptime:$alignr$uptime
${color #d1d1d1}NETWORK $hr${color}
Gateway:$alignr$gw_ip
IP:${alignr}${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"; exit}'}
Rx: ${downspeed enp10s0}/s$alignr Tx: ${upspeed enp10s0}/s
${color #d1d1d1}CPU $hr${color}
CPU Frequency:$alignr$freq_g GHz
CPU usage:$alignr${cpu cpu0}%
$cpugraph
${color #d1d1d1}HDD $hr${color}
Filesystem Space Allocation:
/$alignr${fs_used /}/${fs_size /}
$fs_bar
${color #d1d1d1}MOUNTS $hr${color}
/nfs/Torrents$alignr${fs_used /nfs/Torrents}/${fs_size /nfs/Torrents}
${fs_bar /nfs/Torrents}
/nfs/Media$alignr${fs_used /nfs/Media}/${fs_size /nfs/Media}
${fs_bar /nfs/Media}
/nfs/ISO$alignr${fs_used /nfs/ISO}/${fs_size /nfs/ISO}
${fs_bar /nfs/ISO}
/nfs/Sync$alignr${fs_used /nfs/Sync}/${fs_size /nfs/Sync}
${fs_bar /nfs/Sync}
${color #d1d1d1}MEMORY$hr${color}
Usage:$alignr$mem / $memmax
Swap usage:$alignr$swap/$swapmax
$memgraph