manjaro conky配置
马上就要写完的manjaro安装博客,结果因为typora没设置自动保存,手贱关了命令行,只剩下了开头(草***,不写了)。
所以,各位,一定要设置自动保存,一定不要手贱!!!
预览图
default_color white background yes double_buffer yes no_buffers yes update_interval 1.0 total_run_times 0 own_window yes own_window_type dock own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_colour 000000 own_window_argb_visual yes own_window_argb_value 0 double_buffer yes draw_shades no draw_outline no draw_borders no draw_graph_borders n0 minimum_size 296 5 maximum_width 406 #default_color ffffff #default_shade_color 000000 #default_outline_color 000000 alignment top_right gap_x 6 gap_y 50 cpu_avg_samples 2 override_utf8_locale no uppercase no # set to yes if you want all text to be in uppercase use_spacer no use_xft yes xftfont WenQuanYi Zen Hei:pixelsize=16 override_utf8_locale yes use_spacer no minimum_size 296 5 TEXT ${font LCD:style=Bold:pixelsize=50}${alignc}${time %H:%M:%S} ${font WenQuanYi Zen Hei:pixelsize=20}${time %Y年%b%d日 星期%a}${alignc} ${font WenQuanYi Zen Hei:pixelsize=14} ${color #98c2c7}主机名: ${color}$alignr$nodename ${color #98c2c7}内核: ${color}$alignr$kernel ${color #98c2c7}架构: ${color}$alignr$machine ${color #98c2c7}已开机: ${color}$alignr$uptime ${color #98c2c7}CPU使用率: ${color}$cpu% ${alignr}${color #98c2c7}CPU 频率: ${color}$freq_g GHz $cpubar CPU 温度: $alignr${exec sensors | grep 'id 0' | cut -c17-25} ${color #98c2c7}CPU占用:${color} ${top name 1} ${alignr}${top cpu 1} % ${top name 2} ${alignr}${top cpu 2} % ${top name 3} ${alignr}${top cpu 3} % ${top name 4} ${alignr}${top cpu 4} % ${color #98c2c7}物理内存:${color}${alignr}$mem / $memmax ${membar} ${color #98c2c7}内存占用:${color} ${top_mem name 1} ${alignr}${top_mem mem_res 1} ${top_mem name 2} ${alignr}${top_mem mem_res 2} ${top_mem name 3} ${alignr}${top_mem mem_res 3} ${top_mem name 4} ${alignr}${top_mem mem_res 4} ${color #98c2c7}网络使用:${color} 下载速度:$alignr${downspeed enp8s0}/s 上传速度:$alignr${upspeed enp8s0}/s ${color #98c2c7}磁盘:${color} ${color #FFFFFF}SSD: ${color}${alignr}${fs_used /}/${fs_size /} ${fs_bar 4 /} ${color #FFFFFF}HDD: ${color}${alignr}${fs_used /home}/${fs_size /home} ${fs_bar 4 /home}
配置根据网络上的文章揉合而成,有些地方可能有冗余
网卡地址根据ip addr命令获取(下载/上传速度那里)
CPU温度那里可以搜索sensors的用法,一般来说有每个核心有自己的温度,还有南桥和整体温度(我也不知道是哪的温度),选一个差不多的就好(毕竟都在一块儿,大差不差)
磁盘那里,我的跟路径挂载在SSD上,所以跟路径可以表示SSD,/home挂载在HDD,故表示HDD