conky配置2

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
if_up_strictness link
imlib_cache_size 0
double_buffer yes
no_buffers yes

format_human_readable

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Microsoft YaHei:size=11
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 200
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment top_left
gap_x 25
gap_y 36
minimum_size 236 900
maximum_width 236
default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no
default_color cccccc
color0 cyan
color1 green
color2 orange
color3 204A87

TEXT

#############
# - CLOCK - #
#############
${font Monaco:size=18}DATE $stippled_hr${font}
${goto 20}${voffset -2}${color2}${font Monaco:size=30}${time %H:%M}${font}${color} ${voffset -20}${alignr }${font WenQuanYi Micro Hei:size=18}${time %A}${font}
${goto 20}${voffset 8}${color #8AE234}$hr${color}
${alignr}${voffset -2}${font Microsoft YaHei Mono:size=16}${time %d %B %Y}${alignr}${font}

##############
# - NETWORK - #
###############
${voffset -25}${font Monaco:size=18}NETWORK $stippled_hr${font}
# |--enp3s0
${if_up enp3s0}
${goto 20}${voffset -20}Up: ${font Monaco:size=10}${color1}${upspeed enp3s0}${color}${font}
${alignr}${color2}${voffset -25}${upspeedgraph enp3s0 30,100 ff0000 0000ff}${color}
${goto 20}${voffset -28}Total: ${font Monaco:size=10}${color2}${totalup enp3s0}${color}${font}
${goto 20}${voffset 2}Down: ${font Monaco:size=8}${color1}${downspeed enp3s0}${color}${font}
${alignr}${voffset -25}${color2}${downspeedgraph enp3s0 30,100 3465A4 204A87}${color}
${goto 20}${voffset -28}Total: ${font Monaco:size=8}${color2}${totaldown enp3s0}${color}${font}
${goto 20}${voffset -15}${color #8AE234}$hr${color}
${goto 20}${voffset -6}Local IP: ${alignr}${color2}${addr enp3s0}${color}
# |--wlo1
${else}${if_up wlo1}
${goto 20}${voffset -20}Up: ${font Monaco:size=10}${color1}${upspeed wlo1}${color}${font}
${alignr}${color2}${voffset -25}${upspeedgraph wlo1 30,100 ff0000 0000ff}${color}
${goto 20}${voffset -28}Total: ${font Monaco:size=10}${color2}${totalup wlo1}${color}${font}
${goto 20}${voffset 2}Down: ${font Monaco:size=8}${color1}${downspeed wlo1}${color}${font}
${alignr}${voffset -25}${color2}${downspeedgraph wlo1 30,100 3465A4 204A87}${color}
${goto 20}${voffset -28}Total: ${font Monaco:size=8}${color2}${totaldown wlo1}${color}${font}
${goto 20}${voffset -15}${color #8AE234}$hr${color}
${goto 20}${voffset -6}Local IP: ${alignr}${color2}${addr wlo1}${color}
${else}
${endif}${endif}

##########
# - HD - #
##########
${voffset -38}${font Monaco:size=18}HD $stippled_hr${font}
${goto 20} Data:${font Microsoft YaHei Mono:size=10}${color2}${alignr}${fs_bar 8,100 /srv}${font}${color}
${goto 20}${voffset -7} Home:${font Microsoft YaHei Mono:size=10}${color2}${alignr}${fs_bar 8,100 /home} ${color}

##############
# - SYSTEM - #
##############
${voffset -10}${font Monaco:size=18}SYSTEM $stippled_hr${font}
${goto 20}${voffset 0}Kernel: ${alignr}${color2}${kernel}${color}
${goto 20}Uptime: ${alignr}${color2}${uptime}${color}
# |--CPU
${goto 20}CPU Temp:${color1}${alignr}$acpitemp${color}°C
${goto 20}CPU1: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu1}%${color}${font} ${alignr}${color2}${cpubar cpu1 8,60 3465A4 204A87}${color}
${goto 20}CPU2: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu2}%${color}${font} ${alignr}${color2}${cpubar cpu2 8,60 3465A4 204A87}${color}
${goto 20}CPU3: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu3}%${color}${font} ${alignr}${color2}${cpubar cpu3 8,60 3465A4 204A87}${color}
${goto 20}CPU4: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu4}%${color}${font} ${alignr}${color2}${cpubar cpu4 8,60 3465A4 204A87}${color}
${goto 20}CPU5: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu5}%${color}${font} ${alignr}${color2}${cpubar cpu5 8,60 3465A4 204A87}${color}
${goto 20}CPU6: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu6}%${color}${font} ${alignr}${color2}${cpubar cpu6 8,60 3465A4 204A87}${color}
${goto 20}CPU7: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu7}%${color}${font} ${alignr}${color2}${cpubar cpu7 8,60 3465A4 204A87}${color}
${goto 20}CPU8: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu8}%${color}${font} ${alignr}${color2}${cpubar cpu8 8,60 3465A4 204A87}${color}
${goto 20}CPU9: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu9}%${color}${font} ${alignr}${color2}${cpubar cpu9 8,60 3465A4 204A87}${color}
${goto 20}CPU10: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu10}%${color}${font} ${alignr}${color2}${cpubar cpu10 8,60 3465A4 204A87}${color}
${goto 20}CPU11: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu11}%${color}${font} ${alignr}${color2}${cpubar cpu11 8,60 3465A4 204A87}${color}
${goto 20}CPU12: ${font Monaco:size=10}${color1}${goto 90}${cpu cpu12}%${color}${font} ${alignr}${color2}${cpubar cpu12 8,60 3465A4 204A87}${color}
# |--MEM
${goto 20}${voffset -10}${color #8AE234}$hr${color}
${goto 20}RAM: ${font Monaco:size=10}${color1}$memperc%${color}${font}
${offset 1}${goto 20}F: ${font Monaco:size=10}${color2}${memeasyfree}${color}${font} ${goto 120}${voffset -3}T: ${font Monaco:size=10}${color2}${memmax}${color}${font}
# |--SWAP
${goto 20}SWAP: ${font Monaco:size=10}${color1}${swapperc}%${color}${font}
${voffset 2}${offset 1}${color}${voffset -2}${goto 20}F: ${font Monaco:size=10}${color2}$swapmax${color}${font} ${goto 120}${voffset -3}T: ${font Monaco:size=10}${color2}$swapmax${color}${font}
# |--PROC
${goto 20}${color #8AE234}$hr${color}
${goto 20}Processes: ${color2}${alignr 26}PID${alignr 10}CPU${alignr}RAM${color}
${voffset -1}${goto 20}${color2}${top_mem name 1}${color}${font Monaco:size=9}${color1} ${goto 113}${top_mem pid 1}${goto 153}${top_mem cpu 1}${alignr }${top_mem mem 1}${color}${font}
${voffset -1}${goto 20}${color2}${top_mem name 2}${color}${font Monaco:size=9}${color1} ${goto 113}${top_mem pid 2}${goto 153}${top_mem cpu 2}${alignr }${top_mem mem 2}${color}${font}
${voffset -1}${goto 20}${color2}${top_mem name 3}${color}${font Monaco:size=9}${color1} ${goto 113}${top_mem pid 3}${goto 153}${top_mem cpu 3}${alignr }${top_mem mem 3}${color}${font}
##############
# - NVIDIA - #
##############
${voffset -5}${font Monaco:size=18}NVIDIA $stippled_hr${font}
${goto 20}${voffset 8}GPU Temp:${goto 200}${font Monaco:size=10}${color1}${exec nvidia-settings -q [gpu:0]/GPUCoreTemp | grep Attribute | cut -d ‘ ‘ -f 6 | cut -c 1-2}${font}${color}${voffset -2}°C
#${goto 20}GPU Clock:${alignr}${font Monaco:size=10}${color1} ${goto 200} ${exec nvidia-settings -q [gpu:0]/GPU2DClockFreqs -t}${font}${color}MHz
#${goto 20}Video RAM:${alignr}${font Monaco:size=10}${color1} ${exec nvidia-settings -q [gpu:0]/VideoRam -t}${font}${color}KiB
${goto 20}Video RAM:${font Monaco:size=10}${color1}${alignr}6${voffset -2}${font}${color}GB
${goto 20}Driver Version:${font Monaco:size=10}${color1} ${goto 176} ${exec nvidia-settings -q [gpu:0]/NvidiaDriverVersion -t}${font}${color}

原文地址:https://www.cnblogs.com/mc-r/p/11420103.html

时间: 2024-10-12 07:38:00

conky配置2的相关文章

Linux Mint下的conky配置

最近闲来无事,想把自己的Linux Mint弄的再炫酷点,在桌面上显示一些信息,因为我已经装了Cairo-dock,现在就差这个了,下面简单说下整个流程,首先你得安装conky, sudo apt-get install conky-all //网上的是千篇一律的install conky 或者你也可以在软件中心中安装,直接搜conky就可以找到了,安装完后直接在终端中输入conky & 就可以运行了,但是默认的界面很丑的界面,需要所谓的主题来搭配,直接去网上下载就好看,地址:点击打开下载con

conky配置

alignment top_right background yes border_width 0 cpu_avg_samples 2 default_bar_size 160 5 default_color green default_graph_size 25 170 diskio_avg_samples 2 double_buffer yes draw_borders no draw_shades no gap_x 20 gap_y 20 maximum_width 315 max_por

ubuntu下配置安装conky

由于默认的conky配置不好看,于是下载了一些配置,网上一抓一大把. 首先  sudo apt-get install conky-all 然后下载想要的配置文件,下载下来的是压缩文件,解压就行了,解压到HOME下.这个HOME是 echo ~  显示的路径 把对应的conkyrc重命名为.conkyrc,  这个文件其实就是配置文件,里面存放着程序需要的Meta-Data. 然后在HOME下创建一个.lua的文件夹,在此文件夹下创建scripts的文件夹,scripts文件夹下存放解压文件解压

conky 增加cpu温度监控

先安装 sensors 然后修改conky配置 use_xft yes xftfont WenQuanYi Zen Hei:pixelsize=12 xftalpha 0.1 update_interval 1 total_run_times 0 own_window yes own_window_type normal own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_p

Ubuntu(14.04LTS)学习札记

这篇博文是我在基于Ubuntu学习一些知识的札记,方便日后进行不断回顾,这里进行统一记录,当然当学到新的东西也会陆续更新!!!还请各位博主不要见笑,小弟在此谢过~\(≧▽≦)/~啦啦啦!!!! 1.Ubuntu的简单配置: 由于个人原因,我并不喜欢在桌面上放一些很花哨的东西,追求简约一直是我个人所推崇的.所以,我的Ubuntu系统配置也不例外,先上一张桌面的谍照: 1.1 安装Numix主题: 楼主我安装的是Numix Circle系列的主题,个人觉得还不错.依据个人爱好,主题嘛,看着酸爽就Ok

ubuntu 必備

1.切换到Ubuntu gnome 经典桌面注销unity桌面环境,然后选择登录环境为"经典桌面"即可进入.若是你喜欢Unity,可是你的显卡不给力3D不支持,怎么办呢?安装Unity-2D:sudo apt-add-ppa repository: unity-2d-team/unity-2d-dailysudo apt-get updatesudo apt-get install qt-unity-default-settings2 更新軟件sudo apt-get update &

linuxtoy.org资源

https://linuxtoy.org/archives.html Archives 在 Android 系统上安装 Debian Linux 与 R (2015-07-14) Pinos:实现摄像头共享 (2015-07-06) Firefox 40 Beta (2015-07-04) BookDrop: 通过 Dropbox 接收 Kindle 电子书 (2015-06-24) Linux Kernel 4.1 (2015-06-23) b2gdroid:在 Android 手机上一键切换

最小主义:我的Musca桌面环境

我现在有一个非常简单实用的桌面环境了:Musca + conky + trayer. 当然Musca运行时需要dmenu,其实也不是非dmenu不可,据说 dzen 也不错. 我现在用的是dmenu. 先放一张我的桌面截图吧. 我的Musca配置 Musca 是我最近发现的非常喜欢的平铺式窗口管理器. 对于它的安装和使用我已经在 这里 做了介绍. 今天主要介绍一下它的配置, 也就是在 .musca_start 中写了哪些让musca启动后执行的命令: # 告诉musca不要管理conky和tra

【安全牛学习笔记】网络配置、更新升级、安装软件包、浏览器插件

[email protected]:~# dhclient eth0       //用来通过 dhcp 协议配置本机的网络接口 [email protected]:~# ifconfig     查看现在的ip地址 [email protected]:~# ifconfig eth0 192.168.1.10/24        // 配置ip地址 [email protected]:~# ifconfig eth0                //查看配置ip地址 [email prote