Advertisement
Guest User

Conky Config by laclaro.wordpress.com

a guest
Oct 25th, 2011
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 6.46 KB | None | 0 0
  1. # conky configuration file $HOME/.conkyrc
  2. # edited by darcon@gmail.com and laclaro@arcor.de
  3.  
  4. #    This file is free software: you can redistribute it and/or modify
  5. #    it under the terms of the GNU General Public License as published by
  6. #    the Free Software Foundation, either version 3 of the License, or
  7. #    (at your option) any later version.
  8.  
  9. #    This file is distributed in the hope that it will be useful,
  10. #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. #    GNU General Public License for more details.
  13.  
  14. #    You should have received a copy of the GNU General Public License
  15. #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  16.  
  17. # set to yes if you want Conky to be forked in the background
  18. background yes
  19.  
  20. disable_auto_reload no
  21. maximum_width 1200
  22.  
  23. # X font when Xft is disabled, you can pick one with program xfontsel
  24. #font 5x7
  25. #font 6x10
  26. #font 7x13
  27. #font 8x13
  28. #font 9x15
  29. #font *mintsmild.se*
  30. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  31.  
  32.  
  33. # Use Xft?
  34. use_xft yes
  35.  
  36. # Xft font when Xft is enabled
  37. #xftfont Bitstream Vera Sans Mono:size=8
  38. xftfont Sans:size=8
  39.  
  40. # Text alpha when using Xft
  41. xftalpha 0.8
  42.  
  43. # Print everything to console?
  44. # out_to_console no
  45.  
  46. # mail spool
  47. #mail_spool $MAIL
  48.  
  49. # Update interval in seconds
  50. update_interval 2.0
  51.  
  52. # This is the number of times Conky will update before quitting.
  53. # Set to zero to run forever.
  54. total_run_times 0
  55.  
  56. # Create own window instead of using desktop (required in nautilus)
  57. own_window yes
  58. own_window_type desktop
  59. own_window_transparent yes
  60. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  61.  
  62. maximum_width 1280
  63.  
  64. # Use double buffering (reduces flicker, may not work for everyone)
  65. double_buffer yes
  66.  
  67. # Minimum size of text area
  68. minimum_size 10 5
  69.  
  70. # Draw shades?
  71. draw_shades yes
  72.  
  73. # Draw outlines?
  74. #draw_outline no
  75.  
  76. # Draw borders around text
  77. draw_borders no
  78.  
  79. # border width
  80. border_width 1
  81. draw_graph_borders no
  82.  
  83. # Stippled borders?
  84. #stippled_borders 8
  85.  
  86. # border margins
  87. border_inner_margin 4
  88.  
  89. # border width
  90. border_width 1
  91.  
  92. # Default colors and also border colors
  93. default_color white
  94. default_shade_color black
  95. default_outline_color white
  96.  
  97. # Text alignment, other possible values are commented
  98. #alignment top_left
  99. #alignment top_right
  100. #alignment bottom_left
  101. alignment top_left
  102.  
  103. # Gap between borders of screen and text
  104. # same thing as passing -x at command line
  105. gap_x 5
  106. gap_y 0
  107.  
  108. # Subtract file system buffers from used memory?
  109. #no_buffers yes
  110. # set to yes if you want all text to be in uppercase
  111. #uppercase no
  112.  
  113. # number of cpu samples to average
  114. # set to 1 to disable averaging
  115. cpu_avg_samples 2
  116.  
  117. # number of net samples to average
  118. # set to 1 to disable averaging
  119. net_avg_samples 2
  120.  
  121. # Force UTF8? note that UTF8 support required XFT
  122. override_utf8_locale yes
  123.  
  124.  
  125. # Add spaces to keep things from moving about?  This only affects certain objects.
  126. use_spacer right
  127.  
  128. # Farben
  129. color0 FFFFFF   # weiß: Text
  130. color1 E8AE1B   # gelb: Sektionen-Unterteilung
  131. color2 FF0F00   # rot:  Uhr und MPD
  132.  
  133.  
  134. # stuff after 'TEXT' will be formatted on screen
  135.  
  136. TEXT
  137. #${goto 700} Nützlich
  138. ${goto 15}${font Poky:size=10}${color1}P${color}$font${goto 30}${color1}Kern 1:${color} ${cpu cpu1}% ${goto 115}${color1}Kern 2:${color} ${cpu cpu2}%${goto 200}${font ConkySymbols:size=10}${color1}H${color}$font ${voffset -3}${color1}Temp: ${color} ${color0}${hwmon temp 1}°C${color}${goto 370}${color1}${voffset -2}${font Poky:size=12}${execi 10 ~/.config/openbox/scripts/conky/conky_battery.sh battery_level_icon}${font}${font Sans:style=normal:size=8} ${voffset -5}${execi 30 ~/.config/openbox/scripts/conky/conky_battery.sh ac_or_akku}${font}${color}${goto 480}${if_existing /proc/net/route wlan0}${voffset -3}${color1}${font Poky:size=9}Y${font} ${font Sans:style=normal:size=8}wlan0${font}${goto 535}${color}${color0}${wireless_link_qual_perc wlan0}${offset -10}%${color} ${color0}${wireless_essid wlan0}${color}${goto 630}$endif${if_existing /proc/net/route eth0}${voffset -3}${color1}${font Poky:size=9}Y${font} ${font Sans:style=normal:size=8}eth0${font}${color}     ${color0}${addr eth0}${color}$endif
  139. ${voffset -8}${goto 30}${cpugraph cpu1 17,70 8b4b0b ffc11f} ${goto 115}${cpugraph cpu2 17,70 8b4b0b ffc11f}${goto 200}${voffset 7}${font Poky:size=10}${color1}P${color}$font ${color1}RAM:${color}    ${color0}$mem/ $memmax${goto 370}      ${if_existing /sys/class/power_supply/BAT0/power_now}${exec echo "scale=1;$(cat /sys/class/power_supply/BAT0/power_now)/1000000" | bc}W ${color0}${execi 60 acpi -b|cut -c30-34}${color}${endif}${goto 535}${if_existing /proc/net/route wlan0}${addr wlan0}${goto 630}$else${goto 480}$endif${if_existing /proc/net/route wlan0}${color}${color1}${font Poky:size=7}w${font} ${font Sans:style=normal:size=8}extern${font}${color}  ${color0}${execi 60 ~/.config/openbox/scripts/conky/externIP.sh}${color}$else${if_existing /proc/net/route eth0}${color}${color1}${font Poky:size=7}w${font} ${font Sans:style=normal:size=8}extern${font}${color}  ${color0}${execi 60 ~/.config/openbox/scripts/conky/externIP.sh}${color}$endif$endif
  140. ${voffset -20}${color1}$hr$color
  141. ${if_running mpd}
  142. ${color2}${font Sans:style=bold:size=11}$mpd_title
  143. ${if_empty mpd_artist}$else${font Sans:style=italic:size=8}von ${font Sans:style=bold:size=8}$mpd_artist $endif ${if_empty mpd_album} $else${font Sans:style=italic:size=8}aus ${font Sans:style=bold:size=8}$mpd_album$endif${color}
  144. ${color1}${mpd_bar 5,300}${color}${font}
  145. ${font Sans:style=normal:size=8}${color2}$mpd_elapsed / $mpd_length              ${exec basename `cat /tmp/MPDLIB`}${if_existing /tmp/MPDLIB}              $mpd_bitrate kBit/s${color}${font}$endif
  146. $endif
  147. # GEDÄCHTNIS
  148. # Die Datei .gedächtnis kann z.B. mit dem bash-script "note" betrachtet und geändert werden
  149. ${font :style=bold:size=8}${color2}Notizen${color}${font}
  150. ${font Sans:style=normal:size=7}${color0}${execi 20 sed '/^#/d' $HOME/.gedächtnis| sed -n '1,10 p'}
  151. ${execi 20 sed '/^#/d' $HOME/.gedächtnis| sed -n '11,20 p'}
  152. ${execi 20 sed '/^#/d' $HOME/.gedächtnis|sed -n '21,30 p'}
  153. ${execi 20 sed '/^#/d' $HOME/.gedächtnis|sed -n '31,$ p'}${color}${font}
  154.  
  155. # Die Datei .geburtstagliste kann z.B. mit dem bash-script "note .geburtstagsliste" betrachtet und geändert werden
  156. ${font :style=bold:size=8}${color2}Nächste Geburtstage${color}${font}
  157. ${font Mono:style=normal:size=8}${color0}${execi 18000 cat /tmp/recent_birthdays}${color}${font}
  158. ${if_running mpd}$else${voffset 100}$endif
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement