Pengpod-linaro.conkyrc

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

Raw Paste

Comments 0
Login to post a comment.
  • No comments yet. Be the first.
Login to post a comment. Login or Register
We use cookies. To comply with GDPR in the EU and the UK we have to show you these.

We use cookies and similar technologies to keep this website functional (including spam protection via Google reCAPTCHA), and — with your consent — to measure usage and show ads. See Privacy.