我的conky配置 .conkyrc

reber的配置基礎(chǔ)上做了些許修改:

  • 使conky不會因使用了顯示桌面的快捷鍵而隱藏
  • 更新了新版本Linux下網(wǎng)絡(luò)接口名稱
# 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
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末摊鸡,一起剝皮案震驚了整個濱河市浆兰,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌袁辈,老刑警劉巖置侍,帶你破解...
    沈念sama閱讀 212,599評論 6 492
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件惹谐,死亡現(xiàn)場離奇詭異碾篡,居然都是意外死亡舰绘,警方通過查閱死者的電腦和手機蹂喻,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,629評論 3 385
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來捂寿,“玉大人口四,你說我怎么就攤上這事∏芈” “怎么了蔓彩?”我有些...
    開封第一講書人閱讀 158,084評論 0 348
  • 文/不壞的土叔 我叫張陵,是天一觀的道長驳概。 經(jīng)常有香客問我赤嚼,道長,這世上最難降的妖魔是什么顺又? 我笑而不...
    開封第一講書人閱讀 56,708評論 1 284
  • 正文 為了忘掉前任更卒,我火速辦了婚禮,結(jié)果婚禮上稚照,老公的妹妹穿的比我還像新娘蹂空。我一直安慰自己,他們只是感情好果录,可當(dāng)我...
    茶點故事閱讀 65,813評論 6 386
  • 文/花漫 我一把揭開白布上枕。 她就那樣靜靜地躺著,像睡著了一般弱恒。 火紅的嫁衣襯著肌膚如雪辨萍。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 50,021評論 1 291
  • 那天返弹,我揣著相機與錄音锈玉,去河邊找鬼。 笑死琉苇,一個胖子當(dāng)著我的面吹牛嘲玫,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播并扇,決...
    沈念sama閱讀 39,120評論 3 410
  • 文/蒼蘭香墨 我猛地睜開眼去团,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起土陪,我...
    開封第一講書人閱讀 37,866評論 0 268
  • 序言:老撾萬榮一對情侶失蹤昼汗,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后鬼雀,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體顷窒,經(jīng)...
    沈念sama閱讀 44,308評論 1 303
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 36,633評論 2 327
  • 正文 我和宋清朗相戀三年源哩,在試婚紗的時候發(fā)現(xiàn)自己被綠了鞋吉。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 38,768評論 1 341
  • 序言:一個原本活蹦亂跳的男人離奇死亡励烦,死狀恐怖谓着,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情坛掠,我是刑警寧澤赊锚,帶...
    沈念sama閱讀 34,461評論 4 333
  • 正文 年R本政府宣布,位于F島的核電站屉栓,受9級特大地震影響舷蒲,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜友多,卻給世界環(huán)境...
    茶點故事閱讀 40,094評論 3 317
  • 文/蒙蒙 一牲平、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧域滥,春花似錦欠拾、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,850評論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽资昧。三九已至酬土,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間格带,已是汗流浹背撤缴。 一陣腳步聲響...
    開封第一講書人閱讀 32,082評論 1 267
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留叽唱,地道東北人屈呕。 一個月前我還...
    沈念sama閱讀 46,571評論 2 362
  • 正文 我出身青樓,卻偏偏與公主長得像棺亭,于是被迫代替她去往敵國和親虎眨。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 43,666評論 2 350

推薦閱讀更多精彩內(nèi)容

  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 171,851評論 25 707
  • 今晚上 簡書 ,看到的是這樣 然后刷新n遍不變嗽桩。截圖發(fā)朋友圈岳守。 回來收到簡信一條,就看到開頭是“37歲”碌冶,然后這簡...
    華白螭閱讀 217評論 0 0
  • #職場說# 選擇 有一份工作你特別討厭湿痢,但會給你很多很多的金錢;還有一份工作僅夠你溫飽扑庞,但你特別喜歡譬重。你會選擇...
    蜜絲姜閱讀 253評論 0 0
  • 處理NSE數(shù)據(jù)時,會提取和重組一些數(shù)據(jù)罐氨,現(xiàn)在一共有兩個方法臀规,一個是 java 自帶的方法,一個就是用一個第三方的庫...
    CCXJTU_NTU閱讀 2,590評論 0 0
  • 我第一次去沈園岂昭,是在好多年前的夏天以现,那時候時光臃腫,一天怎么過也過不完约啊。如今時光已成瘦馬邑遏,沈園已經(jīng)免費,本來旅人蕉...
    租了五顆星閱讀 228評論 0 0