Add laptop version of conky config

This commit is contained in:
Dominik V. Salonen 2017-12-14 00:24:15 +01:00
parent 5cc837b4b4
commit e7df774c27
1 changed files with 68 additions and 0 deletions

68
conky/conkyrc-laptop Normal file
View File

@ -0,0 +1,68 @@
# 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
IP(s):
${exec ip addr | awk '/inet.[0-9\.]+\/24/{printf $2 "\n"}'}
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}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"}