您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

103 行
3.1 KiB

  1. # ~/.conkyrc
  2. #
  3. double_buffer yes
  4. # Use -d option instead
  5. #background yes
  6. use_xft yes
  7. xftfont DejaVu Sans Mono:size=10
  8. xftalpha 0.8
  9. update_interval 1.0
  10. total_run_times 0
  11. own_window yes
  12. own_window_type desktop
  13. own_window_transparent yes
  14. own_window_colour hotpink
  15. #own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
  16. minimum_size 200
  17. draw_shades no
  18. draw_outline no
  19. draw_borders no
  20. stippled_borders 0
  21. border_width 1
  22. alignment top_right
  23. gap_x 20
  24. gap_y 40
  25. default_color green # slategrey
  26. default_shade_color lightgrey
  27. default_outline_color black
  28. color0 white # value
  29. color1 white # vertical border
  30. color2 green # name
  31. color3 gray # displays
  32. color4 888888 # border of netspeed graph
  33. no_buffers yes
  34. uppercase no
  35. format_human_readable yes
  36. if_up_strictness link
  37. TEXT
  38. ${color0}${alignr}${sysname} ${kernel} (${machine})
  39. ${color0}${alignr}${execi 30000 whoami}@${nodename}
  40. ${color0}${hr}
  41. ${color2}uptm ${color1}|${color0} ${uptime}
  42. ${color2}lgin ${color1}|${color0} ${uptime}
  43. ${color0}${stippled_hr}
  44. ${color2}cpu ${color1}|${color0} ${cpu}% ${cpubar}
  45. ${color2}freq ${color1}|${color0} ${freq 1}Mhz | ${freq 2}Mhz
  46. ${color2}temp ${color1}|${color0} ${acpitemp} °C
  47. ${color0}${hr}
  48. ${color2}ram ${color1}|${color0} ${mem} ${membar}
  49. ${color2}swap ${color1}|${color0} ${if_match "${swapperc}" == "No swap"}None${else}${swap} ${swapbar}${endif}
  50. ${color0}${stippled_hr}
  51. ${color2}root ${color1}|${color0} ${fs_used /} #/${fs_size /}
  52. ${fs_bar /}
  53. ${color2}/tmp ${color1}|${color0} ${fs_used /tmp} #/${fs_size /tmp}
  54. ${fs_bar /tmp}
  55. ${color2}i/o ${color1}|${color0} ${diskio}
  56. ${color0}${hr}
  57. ${if_up wlan0}\
  58. ${color2}if ${color1}|${color0} wlan0:${addr wlan0}
  59. ${color2}ssid ${color1}|${color0} ${wireless_essid wlan0} ${wireless_link_qual_perc wlan0}%
  60. ${color0}${stippled_hr}
  61. ${color2}down ${color1}|${color0} ${downspeed wlan0}/s
  62. ${color4}${downspeedgraph wlan0 ff0000 0000ff}
  63. ${color2}up ${color1}|${color0} ${upspeed wlan0}/s
  64. ${color4}${upspeedgraph wlan0 0000ff ff0000}
  65. ${endif}\
  66. ${if_up wlan2}\
  67. ${color2}if ${color1}|${color0} wlan0:${addr wlan2}
  68. ${color2}ssid ${color1}|${color0} ${wireless_essid wlan2} ${wireless_link_qual_perc wlan2}%
  69. ${color0}${stippled_hr}
  70. ${color2}down ${color1}|${color0} ${downspeed wlan2}/s
  71. ${color4}${downspeedgraph wlan2 ff0000 0000ff}
  72. ${color2}up ${color1}|${color0} ${upspeed wlan2}/s
  73. ${color4}${upspeedgraph wlan2 0000ff ff0000}
  74. ${endif}\
  75. ${if_up eth0}\
  76. ${color2}if ${color1}|${color0} eth0:${addr eth0}
  77. ${color0}${stippled_hr}
  78. ${color2}down ${color1}|${color0} ${downspeed eth0}/s
  79. ${color4}${downspeedgraph eth0 ff0000 0000ff}
  80. ${color2}up ${color1}|${color0} ${upspeed eth0}/s
  81. ${color4}${upspeedgraph eth0 0000ff ff0000}
  82. ${endif}\
  83. ${if_up eth2}\
  84. ${color2}if ${color1}|${color0} eth2:${addr eth2}
  85. ${color0}${stippled_hr}
  86. ${color2}down ${color1}|${color0} ${downspeed eth2}/s
  87. ${color4}${downspeedgraph eth2 ff0000 0000ff}
  88. ${color2}up ${color1}|${color0} ${upspeed eth2}/s
  89. ${color4}${upspeedgraph eth2 0000ff ff0000}
  90. ${endif}\
  91. ${color0}${alignr}conky ${conky_version}
  92. ${color0}${hr}
  93. ${color3}${alignr}${texeci 10 bash -c 'xrandr|grep " connected "|cut -f 1,3 -d " "'}