2017-12-07 19:50:59 +00:00
|
|
|
# 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 bottom_left
|
|
|
|
gap_x 16
|
|
|
|
gap_y 16
|
|
|
|
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
|
2017-12-13 09:38:03 +00:00
|
|
|
IP(s):
|
|
|
|
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
|
2017-12-07 19:50:59 +00:00
|
|
|
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
|
|
|
|
${color #d1d1d1}MUSIC $hr${color}
|
|
|
|
Track:${alignr}${exec deadbeef --nowplaying "%t"}
|
|
|
|
Time:$alignr${exec deadbeef --nowplaying "%e"}${offset 1}${alignr} / ${exec deadbeef --nowplaying "%l"}
|
|
|
|
Album:${alignr}${exec deadbeef --nowplaying "%b"}
|
|
|
|
Artist:$alignr${exec deadbeef --nowplaying "%a"}
|