效果图
conky简介
它可以运行在 GNU/Linux 和 FreeBSD 上,是一个基于GPL协议的免费软件。Conky 可以监控许多系统变量,包括 CPU,内存,交换分区,磁盘空间,温度,top,上传,下载,系统消息,以及更多。它具有很高的可配置性,但配置有一些难于理解。Conky是torsmo的一个分支。
安装conky
yay -S conky
配置conky
- 编辑用户conky配置文件.conkyrc
sudo vim ~/.conkyrc
- 将配置复制到.conkyrc配置文件中,保存。根据个人需求更改其中网卡、颜色等变量。
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Sans:size=11
own_window_argb_visual yes
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
# mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_type override
own_window_type normal
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 240 5
maximum_width 350
# Draw shades?
draw_shades no
# Draw outlines?
d