dotfiles/conky/conkyrc-laptop

65 lines
1.7 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:Bold:size=14
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 65EE45
default_shade_color 000000
default_outline_color d9d7d6
alignment top_right
gap_x 30
gap_y 102
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
Battery 1:$alignr${battery_percent BAT0}%
Battery 2:$alignr${battery_percent BAT1}%
${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 wlp3s0}/s$alignr Tx: ${upspeed wlp3s0}/s
${color #d1d1d1}CPU $hr${color}
CPU Freq:$alignr$freq_g GHz
CPU usage:$alignr${cpu cpu0}%
$cpugraph
${color #d1d1d1}SSD $hr${color}
Filesystem Allocation:
/$alignr${fs_used /}/${fs_size /}
$fs_bar
${color #d1d1d1}MEMORY$hr${color}
Usage:$alignr$mem / $memmax
Zram usage:$alignr$swap/$swapmax
$memgraph