Advertisement
xpinex

PengPod-Linaro-.conkyrc

Feb 11th, 2013
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. # Place conky in the top right corner of the screen
  2. alignment top_right
  3.  
  4. # Fork to background (yes or no)
  5. background no
  6.  
  7. # Width of the border in pixels
  8. border_width 1
  9.  
  10. # The number of samples to average for CPU monitoring
  11. cpu_avg_samples 2
  12.  
  13. # Default font and border color
  14. default_color white
  15.  
  16. # Default outline color
  17. default_outline_color white
  18.  
  19. # Default shading color
  20. default_shade_color black
  21.  
  22. # Draw borders around text
  23. draw_borders no
  24.  
  25. # Draw outlines
  26. draw_outline no
  27.  
  28. # Draw shades
  29. draw_shades yes
  30.  
  31. # Use Xft (anti-aliased font and stuff)
  32. use_xft yes
  33. xftfont DejaVu Sans Mono:size=6
  34.  
  35. # Gap in pixels between edge of window and border of conky
  36. gap_x 6
  37. gap_y 5
  38.  
  39. # Minimum size of window
  40. minimum_size 5 5
  41.  
  42. # The number of samples to average for network monitoring
  43. net_avg_samples 2
  44.  
  45. # Subtract (file system) buffers from used memory
  46. no_buffers yes
  47.  
  48. # Print text to stdout
  49. out_to_console no
  50.  
  51. # Print text to stderr
  52. out_to_stderr no
  53.  
  54. # Create own window ?
  55. own_window yes
  56.  
  57. # Ensure that window does not show up as a window
  58. # This is done because own_window_type desktop makes conkey disappear when clicking the desktop
  59. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  60.  
  61. # Make conky transparent
  62. own_window_transparent yes
  63.  
  64. # Update conky every 1.0 seconds
  65. update_interval 1.0
  66.  
  67. # Use double buffering to prevent flickering
  68. double_buffer yes
  69.  
  70. TEXT
  71. ${scroll 45 $nodename - $sysname $kernel on $machine}
  72. $hr
  73. ${color grey}Uptime:$color $uptime
  74. ${color grey}Frequency (in MHz):$color $freq
  75. ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
  76. ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
  77. ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
  78. $hr
  79. ${color grey}File systems:
  80. / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
  81. ${color grey}Networking:
  82. Up:$color ${upspeed wlan1} ${color grey} - Down:$color ${downspeed wlan1}
  83. $hr
  84. #
  85. # This is just to give a better view of the one-liner below
  86. #
  87. #${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Discharging"}
  88. # ${if_match ${exec cat /sys/class/power_supply/battery/capacity} > 70}
  89. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color lightgreen}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  90. # ${else}
  91. # ${if_match ${exec cat /sys/class/power_supply/battery/capacity} > 30}
  92. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color orange}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  93. # ${else}
  94. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color red}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  95. # ${endif}
  96. # ${endif}
  97. #${else}
  98. # ${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Charging"}
  99. # ${if_match ${exec cat /sys/class/power_supply/battery/capacity} < 71}
  100. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color lightblue}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  101. # ${else}
  102. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color blue}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  103. # ${endif}
  104. # ${else}
  105. # ${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Full"}
  106. # ${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color green}${execbar cat /sys/class/power_supply/battery/capacity}${color}
  107. # ${endif}
  108. # ${endif}
  109. #${endif}
  110. #
  111. ${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Discharging"}${if_match ${exec cat /sys/class/power_supply/battery/capacity} > 70}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color lightgreen}${execbar cat /sys/class/power_supply/battery/capacity}${color}${else}${if_match ${exec cat /sys/class/power_supply/battery/capacity} > 30}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color orange}${execbar cat /sys/class/power_supply/battery/capacity}${color}${else}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color red}${execbar cat /sys/class/power_supply/battery/capacity}${color}${endif}${endif}${else}${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Charging"}${if_match ${exec cat /sys/class/power_supply/battery/capacity} < 71}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color lightblue}${execbar cat /sys/class/power_supply/battery/capacity}${color}${else}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color blue}${execbar cat /sys/class/power_supply/battery/capacity}${color}${endif}${else}${if_match "${exec cat /sys/class/power_supply/battery/status}" == "Full"}${color grey}Battery:$color ${exec cat /sys/class/power_supply/battery/capacity}% ${color green}${execbar cat /sys/class/power_supply/battery/capacity}${color}${endif}${endif}${endif}
  112. $hr
  113. ${color grey}Name PID CPU% MEM%
  114. ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  115. ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  116. ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  117. ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement