Advertisement
core_st

Untitled

Dec 8th, 2014
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. # UBUNTU-CONKY
  2. # A comprehensive conky script, configured for use on
  3. # Ubuntu / Debian Gnome, without the need for any external scripts.
  4. #
  5. # Based on conky-jc and the default .conkyrc.
  6. # INCLUDES:
  7. # - tail of /var/log/messages
  8. # - netstat connections to your computer
  9. #
  10. # -- Pengo (conky@pengo.us)
  11. #
  12.  
  13. # Create own window instead of using desktop (required in nautilus)
  14. own_window yes
  15. own_window_type override
  16. own_window_hints undecorated,below,skip_taskbar
  17. # Use double buffering (reduces flicker, may not work for everyone)
  18. double_buffer yes
  19.  
  20. # fiddle with window
  21. use_spacer yes
  22. use_xft yes
  23.  
  24. # Update interval in seconds
  25. update_interval 1.0
  26. default_bar_size 200
  27. #Maximum Width of Window
  28. maximum_width 320
  29.  
  30. # Minimum size of text area
  31. #minimum_size 550 5
  32.  
  33. # Draw shades?
  34. draw_shades no
  35.  
  36. # Text stuff
  37. draw_outline no # amplifies text if yes
  38. draw_borders no
  39. font arial
  40. uppercase no # set to yes if you want all text to be in uppercase
  41.  
  42. # Stippled borders?
  43. stippled_borders 3
  44.  
  45. # border margins
  46. border_margin 5
  47.  
  48. # border width
  49. border_width 6
  50.  
  51. # Default colors and also border colors, grey90 == #e5e5e5
  52. default_color FFFFCC
  53.  
  54. own_window_colour #555555
  55. own_window_transparent yes
  56.  
  57. # Text alignment, other possible values are commented
  58. #alignment top_left
  59. alignment tm
  60. #alignment bottom_left
  61. #alignment bottom_right
  62.  
  63. # Gap between borders of screen and text
  64. gap_x 10
  65. gap_y 10
  66.  
  67. # stuff after ‘TEXT’ will be formatted on screen
  68.  
  69. xftfont Terminus:size=10
  70. TEXT
  71.  
  72.  
  73.  
  74. ${color CC9900}Nithin's Vaio${hr 2}
  75. ${color slate grey}${time %a, } ${color }${time %e %B %G} ${color slate grey}${time %Z, }${color }${time %H:%M:%S}
  76. ${color slate grey}UpTime: ${color }$uptime ${color slate grey} CPU:${color } $cpu% ${acpitemp}C
  77. $color
  78. ${color CC9900}SYSTEM ${hr 2}$color
  79. $nodename $sysname $kernel on $machine
  80.  
  81. ${color CC9900}CPU ${hr 2}$color
  82. Intel® Core™ i3 CPU M 350 @ 2.27GHz × 4
  83. Total CPU: ${cpu cpu0}%
  84. ${color 597DB2}${cpubar}$color
  85. ${cpugraph 30 000000 ffffff}
  86.  
  87. NAME PID CPU% MEM%
  88. ${color CCFFFF}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  89. ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  90. ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  91. ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}$color
  92.  
  93. ${color CC9900}MEMORY ${hr 2}$color
  94. RAM Used:${mem} Free:${memfree}/${memmax}
  95. RAM: $memperc% ${color FF6600} ${membar 6}$color
  96.  
  97. ${color CC9900}DISK ${hr 2}$color
  98. ${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /} ${alignr} ${fs_bar 5,100 }
  99. ${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home} ${alignr} ${fs_bar 5,100 /home}
  100. ${color slate grey}D: ${color }${fs_free /media/ntf}/${fs_size /media/ntf} ${alignr} ${fs_bar 5,100 /media/ntf}
  101.  
  102. ${color CC9900}NETWORK (${addr eth0}) ${hr 2}$color
  103. Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
  104. ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
  105. 25,140 000000 00ff00}$color
  106. Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
  107. Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
  108. 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
  109.  
  110. ${color ffffff}BAT: ${battery} ${battery_bar 10,130 }
  111.  
  112. ${color Tan1}Now Playing ${color slate grey}${hr 2}${font}
  113. ${color1}Artist ${alignr}${color}${execi 2 python2 anowplaying.py -a}
  114. ${color1}Title ${alignr}${color}${execi 2 python2 anowplaying.py -t}
  115. ${color1}Album ${alignr}${color}${execi 2 python2 anowplaying.py -l}
  116. ${color1}Year ${alignr}${color}${execi 2 python2 anowplaying.py -y}
  117. ${color1}Genre ${alignr}${color}${execi 2 python2 anowplaying.py -g}
  118. ${color1}Bitrate ${alignr}${color}${execi 2 python2 anowplaying.py -b}
  119. ${execi 5 python2 anowplaying.py -c /tmp/cover.jpg}${image /tmp/cover.jpg -p 60,560 -s 180x180 -n}
  120.  
  121.  
  122. ${color1}${execi 1 python2 anowplaying.py -e} ${alignc}${execibar 1 python2 anowplaying.py -p}${alignr}${color}${execi 1 python2 anowplaying.py -r}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement