美文网首页Linux
我的conky配置 .conkyrc

我的conky配置 .conkyrc

作者: tsunderebabys | 来源:发表于2017-03-25 14:52 被阅读0次

reber的配置基础上做了些许修改:

  • 使conky不会因使用了显示桌面的快捷键而隐藏
  • 更新了新版本Linux下网络接口名称
# set to yes if you want Conky to be forked in the background
background no
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_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 100
gap_x 940
gap_y 20
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 260 5
maximum_width 400
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 10
gap_y 35
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about?  This only affects
# certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# none, xmms, bmp, audacious, infopipe (default is none)
# xmms_player bmp


TEXT
${color red}SYSTEM ${hr 1}
#Time:$alignr${time %Y.%m.%d}$alignc   ${time %H:%M:%S}$alignr   Week:${time %w}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Machine:$alignr$machine
Uptime: $alignr$uptime
Temp: ${alignr}${acpitemp} °C
Battery:$alignr${battery BAT0}
#Battery:$alignr${battery_percent BAT0}%  
###############
${color green}NETWORK ${hr 1}
IP:${addr eno1}
Down ${downspeed eno1} /s ${alignr}Up ${upspeed eno1} /s
#${downspeedgraph eno1 25,107} ${alignr}${upspeedgraph eno1 25,107}
Total ${totaldown eno1} ${alignr}Total ${totalup eno1}
IP:${addr wlo1}
Down ${downspeed wlo1} /s ${alignr}Up ${upspeed wlo1} /s
#${downspeedgraph wlo1 25,107} ${alignr}${upspeedgraph wlo1 25,107}
Total ${totaldown wlo1} ${alignr}Total ${totalup wlo1}
#############
${color #9932CC}MEMORY ${hr 1}
Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
Highest MEM $alignr MEM%
${top_mem name 1}$alignr ${top_mem mem 1}
${top_mem name 2}$alignr ${top_mem mem 2}
${top_mem name 3}$alignr ${top_mem mem 3}
##############
${color #ffd700}CPU ${hr 1}
Frequency: ${alignr}${freq dyn} MHz
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
CPU1 ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
CPU2 ${alignr}${cpu cpu2}%
${cpubar 4 cpu2}
Highest CPU $alignr CPU%
${top name 1}$alignr${top cpu 1}
${top name 2}$alignr${top cpu 2}
${top name 3}$alignr${top cpu 3}
##############
${color grey}FILE SYSTEM ${hr 1}
Disk I/O:$diskio
Root: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Home: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
#############

效果如下

conky

相关文章

  • conky 配置文件

    安装conky监控系统cpu ,内存等 添加配置文件 .conkyrc conky.config={backgr...

  • 我的conky配置 .conkyrc

    在reber的配置基础上做了些许修改: 使conky不会因使用了显示桌面的快捷键而隐藏 更新了新版本Linux下网...

  • conky

    之前参考大神的配置文件修改的,已找不到了出处。 配置文件 配置文件名“.conkyrc”,启动时conky -c ...

  • conky配置

    conky 使用软件conky可以在linux上看到系统的运行状态,效果如下: 先安装conky:sudo apt...

  • conky配置

    配置是网上找的,然后进行了最基础的修改 字体文件需要复制到 /usr/share/fonts/TTF/conky ...

  • Conky的配置

  • Ubuntu 之 Conky

    Conky 介绍 Conky是一种自由软件,用于X视窗系统的系统监视,可以在FreeBSD、OpenBSD和各种L...

  • fedora 安装conky

    title: fedora 安装conkyid: 123categories: linux的学习记录date: 2...

  • 分享一个简洁的conky配置文件

  • kali下配置conky,实现桌面美化监控系统

    更多参考:1、https://bbs.deepin.org/forum.php?mod=viewthread&ti...

网友评论

    本文标题:我的conky配置 .conkyrc

    本文链接:https://www.haomeiwen.com/subject/xjjcottx.html